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-v37-pair_score

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

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v37-pair_score")
    
    sentences = [
        "yellow cup",
        "cropped blazer, wool blazer cotton blazer gold button blazer button blazer zipper blazer blazer, blazer, gender women three fifty nine generic blazer xs closure style concealed zipper cut cropped wool cotton country of origin egypt fashion style cropped, cropped blazer in sensesional custom developed wool cotton blend fabric embellished with 1 metal gold button wool cotton blend concealed zipper fastening recommended care instruction dry clean size chart x-small bust 96 cm waist 85 cm length 43 cm small bust 100 cm waist 88 cm length 44 cm medium bust 104 cm waist 90 cm length 44.5 cm large bust 108 cm waist 94 cm length 44.5 cm",
        "500 bike chain tool, bike chain tool chain repair tool chain removal tool bike chain repair kit cycling bicycle chain tool bike tool chain tool, bicycle chain tool bike chain tool bike tool chain tool, designed for removing and repairing your bike chain. compatible with 1 to 11-speed chains. remove and repair your bike chain.this bike chain tool is compatible with 1 to 11-speed chains. be careful not compatible with reinforced chains .",
        "minya long sleeves, henley tshirt men tshirt cotton tshirt fabric tshirt basic tshirt cottonball collection long sleeves tshirt minya tshirt tshirt jersi long sleeves jersi long sleeves t shirt minya jersi minya t shirt t shirt, long sleeves tshirt minya tshirt tshirt jersi long sleeves jersi long sleeves t shirt minya jersi minya t shirt t shirt, gender men cotton ball generic t-shirt minya xs features basic neckline henley sleeve style long cotton black season winter, basic long sleeve henley t-shirt for men available in cotton fabric size chart measurements xs s m l xl xxl 1/2 chest width 46 48.5 51 54 57 60 length 68.0 69"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v37-pair_score
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhaledReda's picture
KhaledReda
Upload folder using huggingface_hub
8537a16 verified 3 months ago
  • 1_Pooling
    Upload folder using huggingface_hub 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    79.7 kB
    Upload folder using huggingface_hub 3 months ago
  • config.json
    617 Bytes
    Upload folder using huggingface_hub 3 months ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 3 months ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 3 months ago
  • modules.json
    349 Bytes
    Upload folder using huggingface_hub 3 months ago
  • sentence_bert_config.json
    57 Bytes
    Upload folder using huggingface_hub 3 months ago
  • special_tokens_map.json
    695 Bytes
    Upload folder using huggingface_hub 3 months ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 3 months ago
  • tokenizer_config.json
    1.46 kB
    Upload folder using huggingface_hub 3 months ago
  • vocab.txt
    232 kB
    Upload folder using huggingface_hub 3 months ago