bert-masked-language-modeling-2018

IN premiseentries/2026/06/21/wiki-Transformer_deep_learning_architecture-chunk-6.md

Created 2026-06-21T09:50:10+00:00

BERT (Devlin et al., 2018) is an encoder-only Transformer that uses masked language modeling (MLM) and next sentence prediction for bidirectional pre-training.

Summary

BERT reads text in both directions at once by training on fill-in-the-blank questions and predicting whether two sentences follow each other, rather than generating text token by token. This made it a strong foundation for understanding and classifying existing text, which is why so many downstream NLP tasks were built on top of it.

Dependents

These beliefs depend on this one: