BERT Real BERT Ready

DataLab: What Happens
Under the Hood

This is DataLab — a live, server-side sandbox hosting ModernBERT-base, tracing exactly what a transformer does when it fills in a blank.

Watch a sentence pass through the model
Input
The scientist conducted an [MASK] in the laboratory.▍
BERT.
22 layers · 149M params
Output
Prediction
→ revealed live inside
ModernBERT — bidirectional encoder-only Transformer, pre-trained on 2T tokens of English & code · ModernBERT-base ↗ · 22 layers · 149M params
press Enter ↵ to begin

BERT DataLab: What Happens Under the Hood

Live Server-Side Inference • Step-by-step walkthrough on how the model fills the [MASK] word

Pre-loading BERT-Base (~65MB)...

or try: