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
- Xet hash:
- b2460fcbf75e7265d96215d302d5d838d2c9b03db0d3e4a99b00166fddd0f86b
- Size of remote file:
- 133 MB
- SHA256:
- 4a1f2ecf4d72bead95f495255cdacdf80a844eb1836eec300b4788fe5a4556db
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.