Chapter 9 · Talking to models: prompting and context2020
Zero-shot and few-shot prompting
Showing a few examples in the prompt teaches the format and task without any training.
Preparing zero-shot and few-shot prompting
Chapter 9 · Talking to models: prompting and context2020
Showing a few examples in the prompt teaches the format and task without any training.
Zero-shot: only the question.
Nothing is retrained. The examples sit in the prompt and the model copies their pattern.
Zero-shot means the prompt has the task and no examples. The model uses only what it learned in training, so it may guess the format.
Pick the rule you want. Add examples from the list, then test any word. Can you find examples that leave only one rule?
What is a zero-shot prompt?
Do the examples in a few-shot prompt retrain the model?
Your examples fit two different rules. What may happen?