zero-shot prompting
Asking a model to do a task from instructions alone, with no worked examples in the prompt.
In more detail
Start zero-shot: modern models follow clear instructions well, and examples cost tokens on every call. Add examples only when a measurement on labelled data shows they help.
Related terms
- few-shot prompting — Including a few worked input and output examples in the prompt to show the model the task and format.
- in-context learning — A model picking up a task from instructions and examples in its prompt, with no change to its weights.
Taught in
- Zero-Shot And Few-Shot — AI Engineering: LLM Apps, RAG & Agents
- Reasoning Techniques — AI Engineering: LLM Apps, RAG & Agents