Few-Shot Prompting

About

N-shot prompts (where N is a number) provide N examples of the desired type of completion. Few-shot prompting shows the model what kind of output you are expecting by providing a few examples (at least two but typically less than five).

This is in contrast to the concept of zero-shot prompting where you provide a single command to the model, without providing any examples (zero examples, hence zero-shot prompting).

To learn more about zero-shot, one-shot, and few-shot prompts, visit the Determined blog post LLM Prompting.