Skip to main content

Zero-shot and Few-shot

Zero-shot and Few-shot

  • Model capabilities
  • Stage 3 · Going Deeper
  • refs checked 2026-11-17
What problem it solves

Get a model to perform a new task without training, or with only a few examples.

What it is
Zero-shot prompts with a task description only; few-shot puts a few input-output examples into the prompt. The GPT-3 paper tested this route with no gradient updates and text-only interaction.
Zero-shot gives only an instruction; few-shot adds a handful of examples in the prompt. The examples do not change the weights.
Zero-shot gives only an instruction; few-shot adds a handful of examples in the prompt. The examples do not change the weights.
Why it matters

It is the basic way to judge whether a model can be tried quickly. Example choice and order matter a lot, and few-shot is not the same as stable.

Chinese aliases

Sources
  • Brown et al., Language Models are Few-Shot Learners ↗
  • Ouyang et al., Training language models to follow instructions with human feedback ↗
Use this term in a task

Don’t stop at the definition: use the task handbook for the order and checks, or filter three tool candidates for the job at hand.

Task handbooks → · Filter three candidates →