ContrastiveLoss
eval_rst
.. autoclass:: sentence_transformers.losses.ContrastiveLoss
CosineSimilarityLoss
For each sentence pair, we pass sentence A and sentence B through our network which yields the embeddings u und v. The similarity of these embeddings is computed using cosine similarity and the result is compared to the gold similarity score. 
This allows our network to be fine-tuned to recognize the similarity of sentences.
eval_rst
.. autoclass:: sentence_transformers.losses.CosineSimilarityLoss
DenoisingAutoEncoderLoss
eval_rst
.. autoclass:: sentence_transformers.losses.DenoisingAutoEncoderLoss
MarginMSELoss
eval_rst
.. autoclass:: sentence_transformers.losses.MarginMSELoss
MegaBatchMarginLoss
eval_rst
.. autoclass:: sentence_transformers.losses.MegaBatchMarginLoss
MSELoss
eval_rst
