Skip to content

Few-Shot Learning

The ability of a model to solve a task based on a few examples without fine-tuning: examples are given directly in the prompt.

Difference from Fine-Tuning

Few-shot Fine-Tuning
Learning No, examples in prompt Yes, weights are changed
Cost Low High
Robustness Depends on context Fixed in the model

How It Is Used

Provide 3-10 examples of 'input → output', then the task. The model continues by example.

See Also

← All Terms