Home Knowledge Base Random Span Length

Random Span Length is a masking parameter used in span-based pre-training objectives (like SpanBERT and T5) — instead of masking spans of a fixed size, the length of each masked span is sampled from a probability distribution (typically geometric or uniform) to expose the model to missing information of varying granularity.

Distribution Details

Why It Matters

Random Span Length is variable-sized holes — sampling mask lengths from a distribution to train models on diverse reconstruction challenges.

random span lengthnlp

Explore 500+ Semiconductor & AI Topics

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