Home Knowledge Base Whole Word Masking

Whole Word Masking is a masking strategy for masked language model pre-training where entire words are masked rather than individual subword tokens — when a word is selected for masking, ALL its constituent subword pieces (WordPiece, BPE) are masked together, preventing the model from trivially predicting a masked piece from its sibling pieces.

Whole Word Masking Details

Why It Matters

Whole Word Masking is masking complete words, not fragments — forcing the model to learn from context rather than subword co-occurrence patterns.

whole word maskingnlp

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.