Skip to main content

Few-Shot Learning

Also known as: Few-Shot Prompting, In-Context Learning

In one sentence

Teaching an AI model by including a few examples in your prompt, without any formal training—the model learns the pattern from the examples you show.

Explain like I'm 12

Like showing someone 3 examples of what you want, and they figure out the pattern and do more just like it.

In context

Instead of fine-tuning, you include examples in your prompt: 'Translate to French: Hello -> Bonjour, Goodbye -> Au revoir, Thank you -> Merci, Good morning -> ???'

See also

Related Guides

Learn more about Few-Shot Learning in these guides: