Sentence Similarity
sentence-transformers
PyTorch
English
bert
feature-extraction
text-embeddings-inference
Instructions to use Loquats/loquats with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Loquats/loquats with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Loquats/loquats") 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:
- 973976a53bd41e0e55543286001a721d16d419387474411c3b82253e9af65d49
- Size of remote file:
- 90.9 MB
- SHA256:
- 7e4d1b67d1811878b789cdb854a126afd25dee38dd29b7abd62b2038e9ddbf09
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.