Skip to content

Glossary: NLP with Transformers

Zero-shot classification

Also written: zero-shot, zero-shot-classification

Classifying with labels you choose at run time, by turning each into an NLI hypothesis, with no training. It is a useful start but weak on rare labels like wholesale (recall 0.200).

Where the book teaches it

Related terms

Natural language inference (NLI)hypothesis_template