Skip to main content

In-context Learning

In-context Learning

  • Core concepts
  • Stage 4 · Under the Hood
  • refs checked 2026-11-09
What problem it solves

Learning on the spot inside a conversation: give a few examples and the model does a new task, no retraining.

What it is
The core claim of the GPT-3 paper: the model updates no weights, relying only on task instructions and a few examples in the prompt. Whether you give 0, 1, or several examples changes results a lot — the paper's title is literally "Few-Shot Learners."
Why it matters

Tweaking prompts, giving examples, pasting reference text — all of it uses this. Knowing its limits tells you when fine-tuning is the better route.

Sources
  • GPT-3 paper (few-shot learners) ↗
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 →