Zero-Shot Prompting

Sources:

title: Contents 
style: nestedList # TOC style (nestedList|inlineFirstLevel)
minLevel: 1 # Include headings from the specified level
maxLevel: 4 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console

Overview

About

Large Language Models (LLMs) today trained on large amounts of data and tuned to follow instructions, are capable of performing tasks zero-shot.

Example

Prompt:

Classify the text into neutral, negative, or positive.
 
Text: I think the vacation is okay.
Sentiment:

Output:

neutral

NOTE

Note that in the prompt above we didn’t provide the model with any examples — that’s the zero-shot capabilities at work. When zero-shot doesn’t work, it’s recommended to provide demonstrations or examples in the prompt. Below we discuss the approach known as few-shot prompting.


Appendix

Note created on 2024-04-29 and last modified on 2024-04-29.

See Also

LIST FROM [[Zero-Shot Prompting]] AND -"CHANGELOG" AND -"//Zero-Shot Prompting"

(c) No Clocks, LLC | 2024