Ross ROSS = Recommend OSS · open-source software intelligence for agents

AnswerDotAI/ModernBERT

Bringing BERT into modernity via both architecture changes and scaling observed · 2026-08-28

github.com/AnswerDotAI/ModernBERT · homepage · Python · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

56/100

  • Activity 70
  • Release rhythm 35
  • Longevity 60

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 842
  • days_rel: n/a
  • days_push: 185
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1713 stars · 144 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ModernBERT is the research repository for a modernized BERT-family bidirectional encoder trained on 2 trillion tokens with an 8192-token context, featuring FlexBERT modular encoder building blocks and Flash Attention. It contains pre-training and GLUE evaluation code built on MosaicBERT and the Composer framework, with model checkpoints released on HuggingFace.

Use cases

  • pretrain a modern BERT-style encoder from scratch
  • fine-tune an encoder for text classification
  • build single or multi-vector retrieval embeddings
  • reproduce ModernBERT GLUE benchmark results
  • experiment with modular encoder architecture blocks via YAML configs
  • run long-context (8192 token) encoder inference on consumer GPUs

When to choose

  • you need a fast, memory-efficient encoder for classification or retrieval
  • you want to pre-train or fine-tune a BERT-style model with modern optimizations like Flash Attention
  • you need long-context encoder support up to 8192 tokens
  • you want reproducible research training code for encoder models

When to avoid

  • you just want to use ModernBERT checkpoints in a pipeline - use the HuggingFace integration instead
  • you need decoder-only generative LLMs rather than encoder models
  • you lack a GPU or cannot install Flash Attention dependencies
  • you need a production-hardened, well-documented training framework

Facets

library · maturity active

machine-learning nlp llm-training deep-learning machine-learning deep-learning python bert encoder embeddings transformer flash-attention pretraining research-code natural-language-processing gpu linux

6 sources

Member repositories

RepositoryRoleHealth v2
AnswerDotAI/ModernBERTmain56

For agents

markdown · JSON · MCP: product_card(name="AnswerDotAI/ModernBERT")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem