Skip to content
AImpact
IT EN
Inference Beginner Also known as: Apprendimento con pochi esempi

Few-shot learning

A prompting technique where the model is shown a few examples of desired input and output, so it learns the format on the fly without training.

ShareLinkedInX

In practice

Useful to enforce a schema, a tone, or a precise classification. Usually 3-5 examples are enough. It is almost always the first thing to try before reaching for fine-tuning: it only costs a few extra tokens in the prompt.

Related terms

← All terms