Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:21759025
loss:CoSENTLoss
text-embeddings-inference
Instructions to use KhaledReda/all-MiniLM-L6-v73-pair_score with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use KhaledReda/all-MiniLM-L6-v73-pair_score with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v73-pair_score") sentences = [ "hair food wax", "french fries sandwich sesame paste potatoes sandwich potatoes tomatoes pepper sesame paste.", "table tennis table - ppt 130 medium indoor.2 wooden tennis table this compact table tennis table is designed for indoor play in restricted spaces from 10 m². play then forget about it when it s stored away play table tennis with two or four players in a small space the wooden table top of the ppt130 medium indoor gives it a superb playing quality for your indoor games.", "cook s - iodized table salt - 700 gr cooks salt iodized salt cooks - iodized table malh - 700 gr cooks malh iodized malh table malh" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!