Masked Language Model
What is Masked Language Model?
In one sentence: A masked language model learns by filling in blanks: some words in a sentence are hidden and the model guesses them using words on both sides.
It is like a fill-in-the-blank worksheet: "The ___ barked at the mailman." Because the model can look both left and right, it gets very good at understanding meaning. But it is not as natural at writing long new text as causal models.
What does Masked Language Model look like?
BERT is a famous masked language model used for search and text classification.
Why does Masked Language Model matter?
Masked models are great for understanding text, which is why they power many search and tagging tools.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/masked-language-model/">Masked Language Model, explained simply</a> (The AI Math Dictionary)