Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • 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-v71-pair_score

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

Instructions to use KhaledReda/all-MiniLM-L6-v71-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-v71-pair_score with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v71-pair_score")
    
    sentences = [
        "white rice beef",
        "cinderella - thick long pads with wings - 9 per pack feminine pads",
        "metallic greyish thermal bag chilled bag metallic thermal bag transform your everyday food storage with the exceptional thermal bag designed with triple compartments heat-resistant and 100 leakproof materials and a 3-month guarantee this bag ensures freshness and organization for up to 12 hours. plus it s bpa-free pvc-free and 100 safe for peace of mind. get ready to take on any food storage challenge with this incredible bag.",
        "chunky loafers laces - midnight black laces loafers take your style to the next level with our chunky loafers these stylish loafers feature a thick chunky sole and a sleek slip-on design. perfect for both formal and casual occasions our chunky loafers are made from premium materials and designed to provide comfort and support. pair them with suits dresses or jeans for a stylish and versatile look."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v71-pair_score
92.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhaledReda's picture
KhaledReda
Upload folder using huggingface_hub
7691599 verified 4 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 4 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    285 kB
    Upload folder using huggingface_hub 4 months ago
  • config.json
    617 Bytes
    Upload folder using huggingface_hub 4 months ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 4 months ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 4 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload folder using huggingface_hub 4 months ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    1.46 kB
    Upload folder using huggingface_hub 4 months ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 4 months ago