Skip to content

Glossary: NLP with Transformers

MultipleNegativesRankingLoss

A loss for embedding models that pulls each question toward its answer and away from the other answers in the same batch, so no wrong answers need labeling.

Where the book teaches it

Related terms

Sentence embeddingBatching