Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

KhaledReda
/
all-MiniLM-L6-v56-pair_score

Sentence Similarity
sentence-transformers
Safetensors
English
bert
feature-extraction
dense
Generated from Trainer
dataset_size:39666675
loss:CoSENTLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
all-MiniLM-L6-v56-pair_score
92 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhaledReda's picture
KhaledReda
Upload folder using huggingface_hub
a859caf verified 12 days ago
  • 1_Pooling
    Upload folder using huggingface_hub 12 days ago
  • .gitattributes
    1.52 kB
    initial commit 13 days ago
  • README.md
    177 kB
    Upload folder using huggingface_hub 12 days ago
  • config.json
    617 Bytes
    Upload folder using huggingface_hub 12 days ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 12 days ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 12 days ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 12 days ago
  • sentence_bert_config.json
    57 Bytes
    Upload folder using huggingface_hub 12 days ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 12 days ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 12 days ago
  • tokenizer_config.json
    1.46 kB
    Upload folder using huggingface_hub 12 days ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 12 days ago