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