What is Zero-Shot?

Prompting

Zero-Shot Learning — Using a model to perform a task it was not explicitly trained for, without any examples. LLMs can do zero-shot classification, translation, and reasoning through their general training.

FAQ

What is zero-shot?

Asking a model to do a task without giving it any examples. Works because LLMs learn general capabilities during pre-training.

Zero-shot vs few-shot?

Zero-shot: no examples. Few-shot: 2-5 examples in the prompt. Few-shot usually gives better results for complex tasks.

Related Terms

Learn Zero-Shot in depth

Free hands-on course with code examples and Google Colab notebooks.

Start Course →