.. autoclass:: sentence_transformers.losses.MSELoss
MultipleNegativesRankingLoss
MultipleNegativesRankingLoss is a great loss function if you only have positive pairs, for example, only pairs of similar texts like pairs of paraphrases, pairs of duplicate questions, pairs of (query, response), or pairs of (source_language, target_language).
eval_rst
.. autoclass:: sentence_transformers.losses.MultipleNegativesRankingLoss
OnlineContrastiveLoss
eval_rst
.. autoclass:: sentence_transformers.losses.OnlineContrastiveLoss
SoftmaxLoss
eval_rst
.. autoclass:: sentence_transformers.losses.SoftmaxLoss
TripletLoss
eval_rst
.. autoclass:: sentence_transformers.losses.TripletLoss
