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

mlnomad
/
modernbert-embed-base-yat

Sentence Similarity
sentence-transformers
Safetensors
yatmodernbert
feature-extraction
yat-kernel
distillation
mteb
modernbert
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use mlnomad/modernbert-embed-base-yat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use mlnomad/modernbert-embed-base-yat with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("mlnomad/modernbert-embed-base-yat", trust_remote_code=True)
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
modernbert-embed-base-yat
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
mlnomad's picture
mlnomad
Update model card with MTEB STS evaluation table
ae839f4 verified 20 days ago
  • 1_Pooling
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • .gitattributes
    1.52 kB
    initial commit 21 days ago
  • README.md
    3.15 kB
    Update model card with MTEB STS evaluation table 20 days ago
  • config.json
    2.11 kB
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • config_sentence_transformers.json
    283 Bytes
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • model.safetensors
    596 MB
    xet
    End-to-end last-layer distilled Yat-MLP ModernBERT (teacher parity, STS 0.782) 20 days ago
  • modeling_yatmodernbert.py
    1.3 kB
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • modules.json
    349 Bytes
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • sentence_bert_config.json
    58 Bytes
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • tokenizer.json
    3.58 MB
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago
  • tokenizer_config.json
    390 Bytes
    Yat-MLP swapped ModernBERT-embed (two-phase distilled) 21 days ago