Sentence Similarity
sentence-transformers
PyTorch
Safetensors
English
bert
Sentence Transformers
text-embeddings-inference
Instructions to use intfloat/e5-small-unsupervised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use intfloat/e5-small-unsupervised with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("intfloat/e5-small-unsupervised") 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
-
Update README.md
b1dcdb2 -
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (79a98d73974307af6ac8a6aa7dd2865749371b5c) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>eca89c9
-
update README.md
f6947f9 -
add sentence-transformers support
35d4ac7
-
Update README.md
25e9f9a
-
Update README.md
e3a32f8
-
Update README.md
b66cb10 -
Update README.md
ad28e8b
-
add README.md
d1eb7e1 -
upload models
31c9a51 -
initial commit
68e88fd