Techniques

What is Zero-Shot Learning?

Asking an AI to perform a task without any examples โ€” relying on its training alone.

Definition

Zero-shot learning means giving an AI model a task without providing any examples of the desired output. The model relies entirely on its pre-training knowledge to understand and complete the task. This contrasts with few-shot learning (providing examples) and is the default mode when you simply type a request into ChatGPT or Claude.

๐Ÿ’ก Example

Asking Claude "Translate this to French: Hello, how are you?" is zero-shot โ€” no examples needed because the model learned translation during pre-training. More complex or unusual tasks often benefit from few-shot prompting instead.

Related concepts

Prompt Engineering

The practice of crafting effective instructions to get better results from AI models.

โ†’
Few-Shot Learning

Providing a few examples in your prompt to teach the AI the pattern you want.

โ†’

Explore AI tools

Find tools that use zero-shot learning in practice.

Browse all tools โ†’ Back to glossary
What is Zero-Shot Learning?

Zero-shot learning means giving an AI model a task without providing any examples of the desired output. The model relies entirely on its pre-training knowledge to understand and complete the task. This contrasts with few-shot learning (providing examples) and is the default mode when you simply type a request into ChatGPT or Claude.

How does Zero-Shot Learning work in practice?

Asking Claude "Translate this to French: Hello, how are you?" is zero-shot โ€” no examples needed because the model learned translation during pre-training. More complex or unusual tasks often benefit from few-shot prompting instead.