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

hotchpotch
/
ModernBERT-embedding-CMNBRL

Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
dense
Generated from Trainer
dataset_size:4314846
loss:CachedMultipleNegativesBidirectionalRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use hotchpotch/ModernBERT-embedding-CMNBRL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use hotchpotch/ModernBERT-embedding-CMNBRL with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("hotchpotch/ModernBERT-embedding-CMNBRL")
    
    sentences = [
        "what is grade 7 gcse equivalent to?",
        "Unlike the Google Home Mini (First Gen), the Nest Mini (Second Gen) can be used to actually enjoy music in every room of the house. While the Google Home Mini (First Gen) is a decent way to get music in every room of your home for cheap, the sound quality that comes from the speaker reflects the price of the product.",
        "In general, a grade 7-9 is roughly equivalent to A-A* under the old system, while a grade 4 and above is roughly equivalent to a C and above. Fewer students will receive a grade 9 than would have received an A* under the old grading system.",
        "['Pulling at a wet or dirty diaper.', 'Hiding to pee or poop.', \"Interest in others' use of the potty, or copying their behavior.\", 'Having a dry diaper for a longer-than-usual time.', 'Awakening dry from a nap.', \"Telling you that they're about to go, are going or have just gone in their diaper.\"]"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ModernBERT-embedding-CMNBRL
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
hotchpotch's picture
hotchpotch
Upload train_st_loss_example.py
dfe6881 verified 5 months ago
  • 1_Pooling
    Add new SentenceTransformer model 5 months ago
  • .gitattributes
    1.52 kB
    initial commit 5 months ago
  • README.md
    97.4 kB
    Update README.md 5 months ago
  • config.json
    1.21 kB
    Add new SentenceTransformer model 5 months ago
  • config_sentence_transformers.json
    288 Bytes
    Add new SentenceTransformer model 5 months ago
  • model.safetensors
    596 MB
    xet
    Add new SentenceTransformer model 5 months ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model 5 months ago
  • sentence_bert_config.json
    57 Bytes
    Add new SentenceTransformer model 5 months ago
  • special_tokens_map.json
    694 Bytes
    Add new SentenceTransformer model 5 months ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model 5 months ago
  • tokenizer_config.json
    21 kB
    Add new SentenceTransformer model 5 months ago
  • train_st_loss_example.py
    10.3 kB
    Upload train_st_loss_example.py 5 months ago