Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:19507210
loss:CoSENTLoss
text-embeddings-inference
Instructions to use KhaledReda/all-MiniLM-L6-v47-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-v47-pair_score with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v47-pair_score") sentences = [ "firstvoc crem f fall hr", "sandal praia sandals copacabana sandals strappy sandals gladiator sandals faux gold sandals women nine crimes sandals praia 38 gladiator style strappy faux leather brown praia de copacabana beach is a golden sand hotspot outside rio de janeiro. it is a 2.2-mile beach lined with action be it food stalls beach bars or hotels - and a constantly busy promenade. strappy gladiator sandals. faux leather.", "home scent event portable aroma fragrance oil bottle portable diffuser fragrance oil aroma oils event aroma 10 ml fragrance oil bottle suitable to use with the portable diffuser.", "stomach medicine digest eze 20/cap 2ex.new stomach cap" ] 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!