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-v39-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-v39-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-v39-pair_score with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v39-pair_score")
    
    sentences = [
        "keto bar chocolate",
        "summer oversize shirt - green, basic shirt oversize shirt shirt summer shirt, oversize shirt shirt summer shirt, gender women u modest generic shirt features basic types of fashion styles casual fit oversized green season summer",
        "le bite - keto bar chocolate - 60 gr, chocolate keto bar chocolate le bite le bite chocolate le bite keto bar chocolate",
        "table runner, recyclable table runner home decor runner table runner, runner table runner, mymayz generic runner 110 cm rectangular table decoration features recyclable eco friendly beige, size 110 cm care ready to use can be washed with water and liquid soup all our products are sustainable recyclable and eco-friendly"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v39-pair_score
91.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhaledReda's picture
KhaledReda
Upload folder using huggingface_hub
e71072c 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
    78 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