Everything *[NYC] 2026: see what we announced. →
Skip to content

Zero-shot classification definition

Zero-shot classification is the task of assigning an input to one of a set of labels that the model was never specifically trained to predict, by describing those labels in natural language at request time, rather than training a classifier on labeled examples of each one.


A diagram explaining Zero-shot classification in terms of related concepts.

How does zero-shot classification work?

What is the difference between zero-shot, few-shot, and fine-tuned classification?

What are the pitfalls of zero-shot classification?

How do you get better zero-shot classification results from your content?

When should you not use zero-shot classification?

Unlock New Possibilities with Sanity

With zero-shot classification under your belt, it's time to see what Sanity can do for you. Explore our features and tools to take your content to the next level.

Last updated: