Packed documents
×Sequences of at most 4K tokens, documents packed together without cross-sample masking; one document in ten in the Fill-in-Middle arrangement.
- shape
- [B batch, T positions]
Sources
Contextual evidence
§4.1: the Fill-in-Middle strategy, in the Prefix-Suffix-Middle framework, applied at the document level at a rate of 0.1; documents are packed without cross-sample attention masking.
DeepSeek-V3-technical-report-2412.19437v2.pdf p. 22 ↗ · arXiv 2412.19437 @ v2
§4.2: the maximum sequence length is 4K; the MTP depth D is 1, “besides the exact next token, each token will predict one additional token”; λ = 0.3 for the first 10T tokens and 0.1 for the remaining 4.8T; α = 0.0001; the bias update speed γ = 0.001 for the first 14.3T tokens and 0 for the remaining 500B.
DeepSeek-V3-technical-report-2412.19437v2.pdf pp. 22–23 ↗ · arXiv 2412.19437 @ v2