Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

estrogen
/
ModernBERT-base-marco

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

Instructions to use estrogen/ModernBERT-base-marco with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use estrogen/ModernBERT-base-marco with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("estrogen/ModernBERT-base-marco")
    
    sentences = [
        "[unused0]what period do we live in",
        "[unused1]The answer depends on what you want in a cruise experience. If you’re interested in lively entertainment, drinking and parties, and crazy excitement for more festive cruise experience, and the best time to go on a Caribbean cruise is between mid February through much of March.",
        "[unused1]Earth is currently in the Quaternary Period of the Cenozoic Era.",
        "[unused1]If we did not live in a structured society with other people, laws would not be necessary. We would simply do as we please, with little regard for others. But ever since individuals began to associate with other people -- to live in society --laws have been the glue that has kept society together.lmost everything we do is governed by some set of rules. There are rules for games, for social clubs, for sports and for adults in the workplace. There are also rules imposed by morality and custom that play an important role in telling us what we should and should not do."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
ModernBERT-base-marco
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
Fizzarolli's picture
Fizzarolli
Update README.md
5322ee7 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    184 kB
    Update README.md over 1 year ago
  • config.json
    1.25 kB
    Update config.json over 1 year ago
  • config_sentence_transformers.json
    266 Bytes
    Update config_sentence_transformers.json over 1 year ago
  • model.safetensors
    596 MB
    xet
    Add new SentenceTransformer model over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model over 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model over 1 year ago
  • special_tokens_map.json
    694 Bytes
    Add new SentenceTransformer model over 1 year ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model over 1 year ago
  • tokenizer_config.json
    20.8 kB
    Add new SentenceTransformer model over 1 year ago