
mmBERT-small (jhu-clsp)
Language77 ops275.3K params
mmBERT is a masked language model built on the ModernBERT encoder architecture.
Language · 77 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.wave_d_reimpl:build_hf_text: build({}) About this model's family
mmBERT uses the ModernBERT architecture, which is a modernized version of BERT. ModernBERT's changes to the original architecture include rotary positional embeddings to support sequences of up to 8192 tokens, unpadding to avoid spending compute on padding tokens, GeGLU layers, and alternating attention.
As a masked language model, it predicts the token hidden behind a [MASK] placeholder. The ModernBERT architecture also supports padding-free inference and training. It can be fine-tuned for question-answering tasks with the HuggingFace Transformers library.
Key idea. The ModernBERT architecture used by mmBERT updates BERT with rotary positional embeddings, unpadding, GeGLU layers and alternating attention.
AI-written summary, based on the model's documentation and checked automatically against it; not reviewed by a person. Corrections welcome.