What is zero-shot used for?
Large language models have been trained on such volumes of text that they can carry out many tasks without any prior demonstration: translating, summarising, categorising a message, answering a question. Zero-shot refers to a prompt that contains only the instruction, with no example of the expected result.
It is the quickest way to test a use case: no data to prepare, no training. When the results lack consistency or do not follow the required format, you add a few examples: that is few-shot.
How a zero-shot request works
- 1 Step 1 The instruction You describe the task, for example: “Classify this message into one of these categories: complaint, quote, enquiry”.
- 2 Step 2 The content You attach the text to be processed, with no example answer.
- 3 Step 3 Interpretation The model draws on what it learned during training to understand and carry out the instruction.
- 4 Step 4 The check You review the answers on a sample of real cases before rolling out the use case.
Business use cases
- Customer service Sort incoming messages by reason, using a simple list of categories.
- Market watch Summarise articles or reports and extract their key points.
- International Translate an email or a product sheet, with a review for any text intended for publication.
- Customer reviews Detect sentiment (positive, neutral, negative) without annotating a corpus first.
Zero-shot or few-shot?
| Zero-shot | Few-shot | |
|---|---|---|
| Prompt content | The instruction alone | The instruction plus a few examples |
| Preparation | None | Choose representative examples |
| Format consistency | Variable | Higher: the model imitates the examples |
| Ideal for | Common tasks, quick tests | A precise format, categories specific to your business |
In both cases, the model is not retrained: the examples only apply for the duration of the request.
Frequently asked questions
-
For common, well-phrased tasks, often. For categories specific to your business or a strict format, a few examples (few-shot) or reference sources (RAG) generally improve consistency.
-
One-shot provides a single example in the prompt, few-shot provides a handful. Zero-shot provides none.
-
For many uses, yes: a clear instruction is enough, without retraining the model. Fine-tuning remains useful for a very specific, high-volume task where the prompt alone does not deliver consistent enough results.
