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

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

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("KhaledReda/all-MiniLM-L6-v68-pair_score")
    
    sentences = [
        "ultra soft essential pants",
        "rosario lookin for something to spice up your wardrobe the rosario is just the ticket this is perfect for warm weather and adds a bit of oomph to any outfit and you can bet all eyes will be on you when you rock it wink wink",
        "hazelnut cold pressed hazelnut oil desserts hazelnut oil sauté vegetables hazelnut oil for cooking our hazelnut oil is cold-pressed to retain its rich and toasty flavor. it enhances both sweet and savory recipes. how to use drizzle over desserts like ice cream or chocolate mousse use it to sauté vegetables or blend it into hazelnut vinaigrettes for a delightful hazelnut touch.",
        "nut bar almond - pumpkin almond nut bar pumpkin nut bar"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-MiniLM-L6-v68-pair_score
92 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
KhaledReda's picture
KhaledReda
Upload folder using huggingface_hub
25aca66 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
    143 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