Skip to content

Commit

Permalink
Docs: pairwise_cosine_similarity -> pairwise_similarity
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed May 27, 2024
1 parent 24bee09 commit a373931
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ This value can be changed in a handful of ways:
Sentence Transformers implements two methods to calculate the similarity between embeddings:

- :meth:`SentenceTransformer.similarity <sentence_transformers.SentenceTransformer.similarity>`: Calculates the similarity between all pairs of embeddings.
- :meth:`SentenceTransformer.pairwise_cosine_similarity <sentence_transformers.SentenceTransformer.pairwise_cosine_similarity>`: Calculates the similarity between embeddings in a pairwise fashion.
- :meth:`SentenceTransformer.pairwise_similarity <sentence_transformers.SentenceTransformer.pairwise_similarity>`: Calculates the similarity between embeddings in a pairwise fashion.

::

Expand Down

0 comments on commit a373931

Please sign in to comment.