embedding
Classes
|
Loss function that computes a contrastive loss between a query and multiple document embeddings, such that only one document embedding has a a high similarity to the query embedding, while all other document embeddings have a low similarity. |