ModernBERT is an open-source research project that modernizes the classic BERT encoder architecture by incorporating recent advances in transformer design, training techniques, and efficiency improvements. The goal of the project is to bring BERT-style models up to date with the capabilities of modern large language models while preserving the strengths of bidirectional encoder architectures used for tasks such as classification, retrieval, and semantic search. ModernBERT introduces architectural improvements that enhance both training efficiency and inference performance, making the model more suitable for modern large-scale machine learning pipelines. The repository also includes FlexBERT, a modular framework that allows developers to experiment with different encoder building blocks and configurations when constructing new models.

Features

  • Modernized BERT-style encoder architecture with updated transformer components
  • FlexBERT modular framework for customizable encoder building blocks
  • Support for long-context inputs and large document processing
  • Configuration-driven model design using structured YAML files
  • Training pipelines for large-scale language and code datasets
  • Optimized attention mechanisms and inference performance improvements

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow ModernBERT

ModernBERT Web Site

Other Useful Business Software
MicroStation by Bentley Systems is the trusted computer-aided design (CAD) software built specifically for infrastructure design. Icon
MicroStation by Bentley Systems is the trusted computer-aided design (CAD) software built specifically for infrastructure design.

Microstation enables architects, engineers, and designers to create precise 2D and 3D drawings that bring complex projects to life.

MicroStation is the only computer-aided design software for infrastructure design, helping architects and engineers like you bring their vision to life, present their designs to their clients, and deliver their projects to the community.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ModernBERT!

Additional Project Details

Programming Language

Python

Related Categories

Python Large Language Models (LLM), Python Semantic Search Tool

Registered

2026-03-06