Models › modernbert family

modernbert-embed-base

nomic-ai Apache 2.0 out 23 months ago

modernbert-embed-base is a 149M-parameter Apache 2.0-licensed model from nomic-ai, fine-tuned from answerdotai/ModernBERT-base, on Hugging Face since 2024-12-29. Served by 1 hosted provider (HF Inference). The weights take about 0.1 GB at 4-bit, which fits a 16 GB card, and 0 GB at BF16 (estimate, weights only). 113,811 downloads in the last 30 days; 129 derivative models on Hugging Face.

As of 2026-11-30Sources: Hugging Face repo, provider listings, hardware-fit method

149M parameters, text in, embeddings out. 1 provider serves it.

Verified 2026-11-30 07:15 UTC Rank #62 in Embeddings · score 85.4 method v1 Sources 3 Downloads 30d 113.8k · #319 of 688 tracked

Can I run it?0.1GB at INT4Estimatefits a 16 GB cardmethod
Can I use it?Apache 2.0Permissive; patent grantlicence file
Do people use it?113.8kdownloads, 30 days#319 of 688 we track · top 46%238 likesHugging Face

Worth reading

Picked by rule from 12 tracked pieces: the lab's own post, the most shared, a field report, the latest.

Most discussed · 348 HN pts

A Replacement for BERT

ModernBERT is a family of encoder-only models representing improvements over older generation encoders across the board, with a 8192 sequence length, better downstream performance and much faster processing.

  • ModernBERT is the first encoder-only model that includes a large amount of code in its training data.
  • ModernBERT does not use token type IDs, unlike some earlier BERT models.
huggingface.co 2024-12-19 348 HN pts · 75 comments 4.6k words about the modernbert family family
Latest · 59 days ago

ModernBERT-base Architecture Teardown: Every Layer With Real Code - KGP Talkie

Answer.AI and LightOn released ModernBERT-base in December 2024 under the Apache 2.0 license.

  • ModernBERT-base strips padding tokens out before the layers run to improve efficiency.
  • The model uses a single Wqkv matrix to generate Q, K, and V vectors for all attention heads.
kgptalkie.com 2026-10-01 6k words about the modernbert family family

12 best of 12 tracked

The 2 picks above, plus these 10. Top is the radar's score: discussion, source authority and the lab's own posts, fading with age.

  1. CodeShow HN: 188M Hindi encoder, 28B tokens, 8K context, 1× RTX 4090github.com · 2026-09-06 · 2 HN pts
  2. ArticleFine-tune classifier with ModernBERT in 2025philschmid.de · 2024-12-26 · 19 HN pts
  3. ArticleModernBERThuggingface.co · 2024-12-20 · 1 HN pts
  4. ArticleDistilling ModernBERT into a static model doesn't workminishlab.github.io · 2025-01-29 · 5 HN pts
  5. ArticleFine-Tune ModernBERT for RAG with Synthetic Datahuggingface.co · 2025-02-04 · 1 HN pts
  6. Articlemodernbert-embed-base vs nomic-embed-text-v1aimodels.fyi · undated
  7. ArticleTIL: Masked Language Models Are Surprisingly Capable Zero-Shot Learnersanswer.ai · 2025-02-10 · 4 HN pts
  8. Articlemodernbert-embed-base by nomic-ai | Mixpeek Model Hubmixpeek.com · 2026-04-25
  9. DiscussionThe release of the first ModernBERT-based embedding modelstwitter.com · 2024-12-30
  10. ArticleContextual Embeddings with ModernBERT : A Hands-On ...blog.gopenai.com · 2025-01-30

Where to run it

Live hosted endpoints, cheapest first, USD per million tokens. Ties break on output price, then provider name.

#Cheapest live rowIn /1MOut /1MContextQuantSeen
1 HF Inference — — — — Nov 30

All 1 provider →

Where it's used

Hugging Face does not say who downloads a model or with what. These are the proxies: API providers listing it, quantized builds, fine-tunes/adapters/merges, and Spaces that load it.

Served by 1 API provider; 5 quantized builds for local use; a big base for builders (124 fine-tunes, adapters and merges).

  • As a service1HF Inference
  • On own hardware5quantized builds
  • Built on124124 fine-tunes · 0 adapters · 0 merges
  • In apps0Hugging Face Spaces

Will it fit?

Weights only, an estimate: leave room for the KV cache. Method

Fits a 16 GB card at INT4

About 0.1 GB at INT4, 0.2 GB at FP8, 0.4 GB at BF16: weights only, so leave room for the KV cache.

16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 0.1 GB of weights (estimate; KV cache and activations extra)INT40.1 GBFP8: about 0.2 GB of weights (estimate; KV cache and activations extra)FP80.2 GBBF16: about 0.4 GB of weights (estimate; KV cache and activations extra)BF160.4 GB
16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 0.1 GB of weights (estimate; KV cache and activations extra)INT40.1 GBFP8: about 0.2 GB of weights (estimate; KV cache and activations extra)FP80.2 GBBF16: about 0.4 GB of weights (estimate; KV cache and activations extra)BF160.4 GB

Estimate params × bytes per param × 1.2 · how we estimate

The story so far

Weights, every dated article, and repo commits on one rail.

9 dated articles and 0 repo commits so far

Teal is the weights (2024-12-29), amber triangles are 9 dated articles (each links to it).

What people built on it

129 derivatives on the Hub. Which build to run, by runtime: the most downloaded in each class.

129 derivatives on the Hub, most of them fine-tunes

From the Hugging Face model tree; quantized builds in teal, fine-tunes, merges and adapters in greys.

5 quantized (Hugging Face model tree)124 fine-tunes (Hugging Face model tree)5 quantized124 fine-tunes
5 quantized (Hugging Face model tree)124 fine-tunes (Hugging Face model tree)5 quantized124 fine-tunes

All variants →

Reference

Everything else, folded: the full tables, every source.

Use-case evidence

2 use cases

What it is good at 2 use cases

Labels are evidence, not verdicts: measured a third-party leaderboard row for this model; author-reported a number the model author published in the card or eval files; structural a deterministic signal from the name, config or chat template, or a decision-model estimate. Each chip links to its source. All use cases.

Facts

15 fields

Listed in Embeddings

Facts

Pipeline tagsentence-similarity
Librarysentence-transformers
ArchitecturesModernBertModel
Model typemodernbert
Params by dtypeF32: 149,014,272
Size bandS
MoEno
PapersarXiv:2402.01613
LicenseApache 2.0 (apache-2.0)
Hub snapshot2026-11-30

Hardware fit

3 estimates

Hardware fit ESTIMATE

Weights-only memory for modernbert-embed-base: params × bytes/param × 1.2 overhead. KV cache and activations are extra. How this is computed.

BF16 (2 bytes/param)0.4 GB · Edge (<4 GB)
FP8 (1 byte/param)0.2 GB · Edge (<4 GB)
INT4 (0.5 bytes/param)0.1 GB · Edge (<4 GB)

Weights only (params × bytes/param × 1.2 overhead); KV cache and activations extra.

All variants

40 variants

Lineage

Fine-tuned from answerdotai/ModernBERT-base Family: nomic-ai/modernbert 129 derivatives on the Hub

Base model: answerdotai/ModernBERT-base

finetune: 124quantized: 5

Top variants (40 shown, ranked by downloads)

40 rows
Variant Relation Quant Params Band License Author Likes Downloads
freelawproject/modernbert-embed-base_finetune_512 finetune — 149M S cc0-1.0 freelawproject 8 1.2M
legaltextai/modernbert-embed-ft-const-legal-matryoshka finetune — 149M S apache-2.0 legaltextai 1 57.9k
freelawproject/modernbert-embed-base_finetune_8192 finetune — 149M S cc0-1.0 freelawproject 3 51k
legaltextai/modernbert-embed-base-legaltextai-matryoshka-legaldataset finetune — 149M S apache-2.0 legaltextai 3 27k
karsar/ModernBERT-base-hu_v3 finetune — 149M S apache-2.0 karsar 2 25.9k
Jade-Software/Jade-ModernBert-FT finetune — 149M S apache-2.0 Jade-Software 0 25.3k
mrm8488/modernbert-embed-base-ft-sts-spanish-matryoshka-768-64 finetune — 149M S — mrm8488 3 22.2k
AdamLucek/ModernBERT-embed-base-legal-MRL finetune — 149M S apache-2.0 AdamLucek 8 7.7k
wilfredomartel/modernbert-embed-es-legal-v2 finetune — 149M S apache-2.0 wilfredomartel 0 5.5k
Parallia/Fairly-Multilingual-ModernBERT-Embed-BE finetune — 264M S apache-2.0 Parallia 28 3.2k
sujet-ai/Fin-ModernBERT-RAG-embed-base finetune — 149M S — sujet-ai 4 2.4k
IoannisKat1/modernbert-embed-base-ft-new finetune — 149M S apache-2.0 IoannisKat1 0 1.8k
gefgu/modernbert-activity-aligner finetune — 150M S — gefgu 0 1.2k
gefgu/modernbert-vehicle-ownership-aligner finetune — 150M S — gefgu 0 1.1k
gefgu/modernbert-profile-coherence-aligner finetune — 150M S — gefgu 0 1k
lochhonest/finetuned_mbert finetune — 149M S — lochhonest 0 833
rya23/modernbert-embed-finance-matryoshka finetune — 149M S — rya23 0 614
sdiazlor/modernbert-embed-base-biencoder-human-rights finetune — 149M S apache-2.0 sdiazlor 1 584
adamNLP/modernbert-embed-base-legal-matryoshka-2 finetune — 149M S apache-2.0 adamNLP 0 499
dnth/ssf-retriever-modernbert-embed-base-v4 finetune — 149M S — dnth 0 492
IoannisKat1/modernbert-embed-base-new finetune — 149M S apache-2.0 IoannisKat1 0 458
kokojake/modernbert-embed-base-fitness-health-matryoshka finetune — 149M S apache-2.0 kokojake 0 448
AdamLucek/modernbert-embed-quickb finetune — 149M S apache-2.0 AdamLucek 0 442
stardriver007/modernbert-embed-base-legal-matryoshka-qlin finetune — 149M S apache-2.0 stardriver007 0 440
TonyDo/modernbert-embed-base-legal-matryoshka-2-duy finetune — 149M S apache-2.0 TonyDo 0 435
dpravinv/modernbert-job-role-matcher finetune — 149M S apache-2.0 dpravinv 0 432
Ch333tah/modernbert-finqalab-embeddings finetune — 149M S — Ch333tah 0 428
Mdean77/modernbert-embed-quickb finetune — 149M S apache-2.0 Mdean77 0 418
manishh16/modernbert-embed-base-legal-matryoshka-2 finetune — 149M S apache-2.0 manishh16 1 414
Fatin757/modernbert-job-role-matcher finetune — 149M S apache-2.0 Fatin757 0 413
frankwong2001/4_modernbert-embed-base finetune — 149M S — frankwong2001 0 412
lochhonest/modernbert-finetuned-for-sas finetune — 149M S — lochhonest 0 410
dnth/ssf-retriever-modernbert-embed-base-v3 finetune — 149M S — dnth 0 410
Jonuu/LawyerAI1 finetune — 149M S apache-2.0 Jonuu 0 409
Sri1999/modernbert-embed-base-legal-matryoshka-2 finetune — 149M S apache-2.0 Sri1999 0 409
aaa961/modernbert-embed-base-legal-MRL_reverse_dataset finetune — 149M S apache-2.0 aaa961 0 405
dnth/ssf-retriever-modernbert-embed-base-v2 finetune — 149M S — dnth 0 399
Nuf-hugginface/modernbert-embed-quickb finetune — 149M S apache-2.0 Nuf-hugginface 0 397
mlnomad/modernbert-embed-base-yat finetune — 149M S apache-2.0 mlnomad 0 396
chrisekwugum/modernbert-embed-base-legal-matryoshka-2 finetune — 149M S apache-2.0 chrisekwugum 1 357

Repository changelog

1 change
changed in the last 7 daysNew on the watch list: 2026-11-29all changes

All providers

1 provider · 1 endpoint

Where to run 1 providers · 1 endpoints

Hosted endpoints observed for modernbert-embed-base, sorted by input price (USD per million tokens). Each row names its observer and date; prices change daily, so check the source before quoting. Provider names link to what each says about security and data handling.

ProviderModel refContextQuant$/M in$/M outtok/sTTFTToolsStatusObserved
HF Inference
hf
nomic-ai/modernbert-embed-base — — — — — — — live 2026-11-30

Articles and coverage

12 pieces

Ranked by source signals (HN, Lobsters, authority domains, official posts) and recency. Summaries are generated from a stored copy of the article text; every sentence cites a span of that text, and nothing is shown that failed the citation check.

Official1

huggingface.co2024-12-19authorityHN front pageabout the modernbert familyHN 348 pts · 75 comments4,564 words
ModernBERT is a family of encoder-only models representing improvements over older generation encoders across the board, with a 8192 sequence length, better downstream performance and much faster processing. The series includes a base model with 149M params and a large model with 395M params, available as a slot-in replacement for BERT-like models. Users can install the required transformers library from main or wait for inclusion in v4.48.0, and should use Flash Attention 2 if their GPU supports it to reach the highest efficiency.written, reviewed, cited
  • ModernBERT is the first encoder-only model that includes a large amount of code in its training data.
  • ModernBERT does not use token type IDs, unlike some earlier BERT models.
  • ModernBERT uses less than 1/5th of Deberta's memory while beating it on GLUE benchmarks.

Analysis9

github.com2026-09-06authorityabout the modernbert familyHN 2 pts · 0 comments2,733 words
hindi-modernBERT is a pretrained base MLM checkpoint extending the ModernBERT architecture to Hindi. The ~188M parameter model with 22 layers and 8192-token context was trained from scratch on ~28B tokens using a 1× RTX 4090 in 5 days. It incorporates RoPE and alternating attention mechanisms to enable efficient long-context training and retrieval.written, reviewed, cited
  • The tokenizer pipeline requires Devanagari script normalisation before BPE to prevent wasting vocabulary slots on byte-level duplicates.
  • Alternating attention uses a 128-token sliding window for local layers, making 8192-token training feasible with O(n) complexity.
  • Training and inference must use the same normalisation pipeline, or the same Hindi word will tokenize differently at inference than during training.
kgptalkie.com2026-10-01about the modernbert family6,020 words
Answer.AI and LightOn released ModernBERT-base in December 2024 under the Apache 2.0 license. The 149M parameter encoder processes up to 8,192 tokens using 22 layers with alternating global and local attention windows. It employs RoPE positional encoding, GeGLU MLP activation, and Flash Attention to optimize performance.written, reviewed, cited
  • ModernBERT-base strips padding tokens out before the layers run to improve efficiency.
  • The model uses a single Wqkv matrix to generate Q, K, and V vectors for all attention heads.
  • Layer 0 has an Identity attention norm while layers 1 through 21 use a real LayerNorm block.
philschmid.de2024-12-26about the modernbert familyHN 19 pts · 3 comments
huggingface.co2024-12-20authorityabout the modernbert familyHN 1 pts · 1 comments612 words
minishlab.github.io2025-01-29about the modernbert familyHN 5 pts · 3 comments948 words
huggingface.co2025-02-04authorityabout the modernbert familyHN 1 pts · 0 comments1,829 words
aimodels.fyi
answer.ai2025-02-10about the modernbert familyHN 4 pts · 0 comments2,111 words
mixpeek.com2026-04-25407 words
All coverage tracked for this model (12) — append-only, nothing is ever removed
TitleSourcePublishedFirst seenSignals
modernbert-embed-base vs nomic-embed-text-v1aimodels.fyi—2026-11-17exa
ModernBERT-base Architecture Teardown: Every Layer With Real Code - KGP Talkiekgptalkie.com2026-10-012026-11-17exa
Show HN: 188M Hindi encoder, 28B tokens, 8K context, 1× RTX 4090github.com2026-09-062026-11-17hn
modernbert-embed-base by nomic-ai | Mixpeek Model Hubmixpeek.com2026-04-252026-11-17exa
TIL: Masked Language Models Are Surprisingly Capable Zero-Shot Learnersanswer.ai2025-02-102026-11-17hn
Fine-Tune ModernBERT for RAG with Synthetic Datahuggingface.co2025-02-042026-11-17hn
Contextual Embeddings with ModernBERT : A Hands-On ...blog.gopenai.com2025-01-302026-11-17exa
Distilling ModernBERT into a static model doesn't workminishlab.github.io2025-01-292026-11-17hn
The release of the first ModernBERT-based embedding modelstwitter.com2024-12-302026-11-17hn
Fine-tune classifier with ModernBERT in 2025philschmid.de2024-12-262026-11-17hn
ModernBERThuggingface.co2024-12-202026-11-17hn
A Replacement for BERThuggingface.co2024-12-192026-11-17hn, exa

Papers

1 paper

Papers 1

arXiv links found in the model card and its tags. "Peer-reviewed" is shown only with evidence: a published venue in OpenAlex (measured) or the authors' own journal reference on arXiv (reported).

Similar models

3 models

Similar models

Sources

3 sources

Sources

Hub snapshot: 2026-11-30 · Providers: 2026-11-30 07:13 UTC · Articles: 2026-11-30 07:15 UTC · Summary: 2026-11-17 07:30 UTC · Last verified 2026-11-30 07:15 UTC

Follow modernbert-embed-base

Watch this model

Email alerts are not open yet; the feeds above are the same data. See feeds for the item schema.