Skip to content

Glossary: NLP with Transformers

hypothesis_template

Also written: candidate_labels

A sentence pattern such as 'This message is {}.' that zero-shot classification fills with each candidate label to make an NLI hypothesis.

Where the book teaches it

Related terms

Zero-shot classificationNatural language inference (NLI)