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