Kubnal Bridge

Techniques & Methods

Few-Shot Learning

Few-shot learning enables models to quickly adapt to new tasks using just 2-10 examples, either through meta-learning (training specifically to learn fast) or in-context learning (providing examples in the prompt at inference time). GPT-3's surprising few-shot capabilities brought this technique mainstream.

For LLMs, few-shot prompting is the most practical form: include 2-5 examples of the desired input-output format in the prompt and the model generalizes the pattern. Performance improvements over zero-shot are often substantial, especially for structured output tasks.

Authority Links

Related Terms