A model can often classify, summarize or translate from an instruction alone. Giving one or a few examples in the prompt, called few-shot, usually makes the output more consistent.
For a task with a fixed format, try adding examples before changing anything else.
- Also called
- zero-shot learning, zero-shot prompting
- How you’ll hear it
- “The zero-shot results were uneven, so the team added three sample replies to the prompt.”
- Often confused with
- No training. The model was trained, and zero-shot refers to the lack of examples in the request.
- A question to ask
- Would a few examples in the prompt make the output more consistent?
- Related terms
- Read more
- Sources
- Stanford Institute for Human-Centered AI, Artificial Intelligence Glossary: What is Zero-Shot Learning?
The example is fictional. This is general guidance, not advice for your situation.