Sentence Similarity
sentence-transformers
PyTorch
English
distilbert
sentence similarity
text-embeddings-inference
Instructions to use Sakil/sentence_similarity_semantic_search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Sakil/sentence_similarity_semantic_search with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Sakil/sentence_similarity_semantic_search") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Commit History
-
Upload sentence_transformer.drawio.png
e61d8dd
-
Update README.md
9d4db31 -
Update README.md
fe83fe7 -
Update README.md
aeca7d5
-
Upload config.json
568b6f7 -
Update README.md
0fc95dd -
Update README.md
29dfe54 -
Update README.md
0f5a0a0 -
Update README.md
dbfc614 -
Update README.md
75ea0f6 -
Update README.md
a616977 -
Create 1_Pooling
f6f5c4f -
Update README.md
967d6c1 -
Upload 9 files
8ee643a -
Update README.md
f780954 -
initial commit
d4fafd0