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