Home/LLM Frameworks/ModernBERT
ModernBERT logo

ModernBERT

AnswerDotAI/ModernBERT

Enhanced BERT architecture for modern NLP tasks

GraphCanon updated 1d · GitHub synced 1d

1.7k stars144 forksLast push 5mo Python Apache-2.0

Decision brief

ModernBERT seeks to enhance traditional BERT models through advanced modifications and scalability improvements.

Good fit when

  • - When aiming for state-of-the-art performance in text embedding tasks where both efficiency and embedding quality are crucial
  • - In scenarios requiring modern NLP embeddings that scale well with dataset size, making it ideal for large-scale text analysis projects

Avoid when

  • - If a project specifically depends on the original BERT architecture or is tightly integrated with previous versions of BERT
  • - For organizations working within strict computational resources limitations since ModernBERT may require more powerful setups for its advanced features to shine

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (173d since push)
As of 1d
Provenance
Not a fork · Organization account
As of 1d
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install ModernBERT
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

AnswerDotAI/ModernBERT is a project focused on updating the BERT model with contemporary architectural improvements and scaling techniques to enhance its performance in natural language processing applications.

Capability facts

Languages
python

Source: github.language · Aug 22, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Aug 22, 2026)

pip install "flash_attn==2.6.3" --no-build-isolation
Source link

Tags

README

install flash attention 2 (model uses FA3+FA2 or just FA2 if FA3 isn't supported)

pip install "flash_attn==2.6.3" --no-build-isolation


MAX_JOBS=8 pip install "flash_attn==2.6.3" --no-build-isolation

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.