Skip to content
Inference Academy

What is contrastive loss (InfoNCE)?

The standard loss for training embedding models: pull a query toward its matching document and push it away from the other documents in the batch.

Learn it properly in the lesson →

Where it comes up

Lessons that use this term, most mentions first.

Related terms

All 115 terms