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

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

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v40-pair_score")
    
    sentences = [
        "kahwa",
        "black chiffon blouse, black blouse long sleeve blouse drawstring blouse loose fitting blouse lightweight blouse women blouse blouse chiffon blouse, blouse chiffon blouse, gender women ntrio generic blouse s features lining closure style drawstring tie sleeve style long fit loose chiffon black, long sleeve black chiffon blouse with long drawstring kraft. quality chiffon material is lightweight skin-friendly soft and comfortable to wear. neck drawstring tie closure chiffon blouse with lining loose fitting. model 175 cm is wearing size s.",
        "baguette plate, asersus wood plate handmade plate wood plate baguette plate plate, baguette plate plate, aneya generic plate type of decor style natural rustic 35 11 cm 1 rectangular serving bread baguettes features richly grained wood sculptural design asersus wood wood finishing polished, richly grained asersus wood turns out in smooth sculptural serving piece naturally suited to everyday use. material asersus wood. each piece is unique in color shade and wood grain shape as they re sourced naturally. all pieces are subject to slight differences in sizes due to their natural and handmade nature. how to take care of wood pieces wash with water and soap only then make sure to dry it completely. - don t soak in water. - not to be used in microwave or dishwasher. - polish it with olive oil using a cotton cloth from time to time to keep its shine.",
        "l oreal - elvive extraordinary oil nourishing conditioner for normal to dry hair - 200 ml, conditioner l oreal conditioner l oreal dry hair conditioner extraordinary oil conditioner l oreal elvive normal hair conditioner nourishing conditioner extraordinary zet conditioner l oreal - elvive extraordinary zet nourishing conditioner, dry hair conditioner extraordinary oil conditioner l oreal elvive normal hair conditioner nourishing conditioner extraordinary zet conditioner l oreal - elvive extraordinary zet nourishing conditioner, units 200 millilitre pharmacies normal to dry hair"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v40-pair_score
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhaledReda's picture
KhaledReda
Upload folder using huggingface_hub
7caeebb 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
    77.8 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