Skip to main content

Zero-Shot Prompting

For certain tasks, simply providing a natural language instruction to the model may be sufficient to obtain a good completion. This is called zero-shot prompting. Let’s illustrate this using an example.

Provide a short description of AI: AI is a set of techniques that use machine learning to make computer programs learn from data.

This worked well! However, the model’s best continuation is not necessarily aligned with your desired continuation. Therefore, it may not be enough to simply give the model natural language instructions for its task.