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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

tomaarsen
/
mmBERT-small-msmarco-fa2-flattened-cmnrl

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

Instructions to use tomaarsen/mmBERT-small-msmarco-fa2-flattened-cmnrl with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tomaarsen/mmBERT-small-msmarco-fa2-flattened-cmnrl with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tomaarsen/mmBERT-small-msmarco-fa2-flattened-cmnrl")
    
    sentences = [
        "where is henderson mn",
        "Confidence votes 1.7K. Assuming we're talking about the `usual' 12 volt car battery' the resting voltage should be around 11 to 11.5 volts. Under charge it's as high as 15 volts as supplied from the alternator,and most cars won't start if the voltage is under 10.5 to 11.5 volts. The term `12 volt battery' is what's referred to as, `nominal' or `in name only' as a general reference and not meant to be an accurate description.",
        "Henderson is a very small town of 1,000 people on the west bank of the Minnesota River just south of the Minneapolis and Saint Paul metro area.",
        "Henderson, officially the City of Henderson, is an affluent city in Clark County, Nevada, United States, about 16 miles southeast of Las Vegas. It is the second-largest city in Nevada, after Las Vegas, with an estimated population of 292,969 in 2016.[2] The city is part of the Las Vegas metropolitan area, which spans the entire Las Vegas Valley. Henderson occupies the southeastern end of the valley, at an elevation of approximately 1,330 feet (410 m)."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
mmBERT-small-msmarco-fa2-flattened-cmnrl
315 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tomaarsen's picture
tomaarsen HF Staff
Add new model.
dd3560b verified 6 months ago
  • 1_Pooling
    Add new model. 6 months ago
  • .gitattributes
    1.57 kB
    Add new model. 6 months ago
  • README.md
    40.7 kB
    Add new model. 6 months ago
  • config.json
    1.98 kB
    Add new model. 6 months ago
  • config_sentence_transformers.json
    306 Bytes
    Add new model. 6 months ago
  • model.safetensors
    281 MB
    xet
    Add new model. 6 months ago
  • modules.json
    290 Bytes
    Add new model. 6 months ago
  • sentence_bert_config.json
    281 Bytes
    Add new model. 6 months ago
  • tokenizer.json
    34.4 MB
    xet
    Add new model. 6 months ago
  • tokenizer_config.json
    569 Bytes
    Add new model. 6 months ago