Zenaique
Glossary · Tooling

In-Context Learning (ICL)

Also known as: ICL, Few-shot prompting, In context learning

Show the model a few examples in the prompt and it learns the pattern, no fine-tuning needed.

The ability of LLMs to learn a task from examples provided in the prompt at inference time, without any weight updates. Few-shot prompting is the canonical instance: give 2-5 example input/output pairs and the model generalizes.

In practice

Cheapest way to specialize a model. Interviews probe when ICL is enough vs when you need fine-tuning or RAG.

How it compares

ICL teaches at inference via examples in the prompt; fine-tuning teaches by updating weights.

Comparisons that include In-Context Learning (ICL)

Related topics

Related terms