Prompting

Zero-shot Learning

Asking an AI model to perform a task with no examples in the prompt — relying entirely on its general training.

01 ——

In plain English

Zero-shot learning is when you ask an AI model to do a task without giving it any examples — just instructions. Modern LLMs are surprisingly good at this because they've seen so many similar tasks during training.

Example: Just write: "Translate this English sentence to French: 'I went to the store yesterday.'" — no examples needed. The model understands and translates.

When zero-shot works well:

  • Tasks the model has clearly seen many times before (translation, classification, summarisation)
  • Tasks that can be unambiguously described in plain language
  • Quick experiments before deciding whether to add examples

When to switch to few-shot:

  • The output format matters — examples lock it in
  • The task is unusual or domain-specific
  • You're getting inconsistent results

Most simple consumer AI interactions are zero-shot. Production AI systems often add few-shot examples for reliability.

02 ——

Related terms

Back to glossaryLast reviewed May 2026
Vol. 4 · Issue 19 · Last reviewed 2026-05-30

Sign up for our newsletter

Receive weekly updates so you can stay up-to-date with the world of AI