Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong method name for pairwise similarity on STS docs page #3221

Closed
msainio opened this issue Feb 7, 2025 · 2 comments · Fixed by #3224
Closed

Wrong method name for pairwise similarity on STS docs page #3221

msainio opened this issue Feb 7, 2025 · 2 comments · Fixed by #3224

Comments

@msainio
Copy link

msainio commented Feb 7, 2025

The documentation page for semantic textual similarity incorrectly states that the method for computing pairwise similarity is SentenceTransformer.pairwise_similarity, not SentenceTransformer.similarity_pairwise.

@tomaarsen
Copy link
Collaborator

tomaarsen commented Feb 10, 2025

Hello!

Thanks a bunch for reporting this. I've made a PR to resolve it. It'll be live after the next release!

  • Tom Aarsen

@msainio
Copy link
Author

msainio commented Feb 10, 2025

Great! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants