Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:21759025
loss:CoSENTLoss
text-embeddings-inference
Run this model with HF Jobs
Run KhaledReda/all-MiniLM-L6-v75-pair_score on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/KhaledReda/all-MiniLM-L6-v75-pair_score. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/KhaledReda/all-MiniLM-L6-v75-pair_score on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use KhaledReda/all-MiniLM-L6-v75-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-v75-pair_score with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v75-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
Download tokenizer.json from KhaledReda/all-MiniLM-L6-v75-pair_score: direct link, hf CLI and curl.
- Browser
- Download file 712 kB
-
https://huggingface.co/KhaledReda/all-MiniLM-L6-v75-pair_score/resolve/main/tokenizer.json
- Command line
-
hf download hf://KhaledReda/all-MiniLM-L6-v75-pair_score/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/KhaledReda/all-MiniLM-L6-v75-pair_score/resolve/main/tokenizer.json
712 kB
File too large to display, you can check the raw version instead.