Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:39666675
loss:CoSENTLoss
text-embeddings-inference
Instructions to use KhaledReda/all-MiniLM-L6-v56-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-v56-pair_score with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v56-pair_score") sentences = [ "toelrance wallet", "cream thio coconut a luscious and rich culinary delight that brings the exotic essence of coconut to your kitchen.", "honey spoons set honey dipper set honey spices natural asersus wood spoons washable handmade honey spoon set aneya spoons set 15 cm 5 serving honey hand carved aserus wood basic hand carved wooden spoon this is a must have in any kitchen. these are completely functional as they were designed specifically to serve many uses. set of 5 pieces size 15 cm best recommended for honey and spices made from natural asersus wood. wash normally with soap and water. make sure to dry them don t leave them soaked in water. each piece may vary in color shade and wood texture due to their handmade and natural nature.", "bedroom chair sleeper chair bed - raddle chair ricrac bed raddle modern 15000 gr 105 85 60 cm chair frame mattress 1 chair seating sleeping converts to bed indoors rabanna black sleeper chair bed - raddle - rabanna the raddle chair is an excellent addition to any home office environment too. 15000 grams. dimensions 105 85 60 cm." ] 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!