Index Ai Academy
Glossary · Phase 5 · Transformers

Masked language modeling

Also written: masked language model, MLM

Training by hiding some tokens and asking the model to guess them from the words on both sides. It's how BERT learned.

Try it now

The difference comes down to who can see what.

Learn it properly

Encoders and embedding models · BERT-style models and where they fit. About 30 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write