Home Knowledge Base Span Masking

Span Masking is a pre-training strategy for masked language models where contiguous sequences (spans) of tokens are masked instead of individual random tokens — popularized by SpanBERT and T5, this approach forces the model to predict entire phrases using only the surrounding context, encouraging the learning of longer-range dependencies and phrasal semantics.

Span Masking Details

Why It Matters

Span Masking is hiding chunks of text — forcing the model to reconstruct entire phrases from context, fostering deeper semantic understanding.

span maskingnlp

Explore 500+ Semiconductor & AI Topics

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