Pre-training
×A text-only dataset of trillions of tokens, weighted toward STEM, coding and general knowledge and filtered for harmful content, on H100 GPUs for 2.1 million H100-hours.
Next-token prediction
In words
At every position the model gives each token of the vocabulary a probability of coming next; the loss is the negative logarithm of the probability it gave the token that does come next, averaged over the sequence.
: the token at position ; : the probability the model, reading the tokens before it, gave that token; : the sequence length.
Next-token prediction as drawn for DeepSeek‑V3.2‑Exp →That plate also draws multi-token prediction, fill-in-the-middle and DeepSeek-V3’s sequence-wise balance loss.
- Compute
- 2.1M H100-hours
- Tokenizer
- o200k_harmony
- Filtering
- CBRN filters of GPT-4o
Not disclosed Tokens · Context · Learning rate · Batch · Optimizer
Architecture at this stageThe model as drawn: 36 layers alternating a window of 128 positions and every earlier position, a learned sink in every head, 128 experts of which four run per token.
All settings7
- Data
- A text-only dataset with trillions of tokens, with a focus on STEM, coding and general knowledge; knowledge cut off in June 2024
- Filtering
- Harmful content filtered out, especially hazardous biosecurity knowledge, with the CBRN pre-training filters of GPT-4o
- Tokenizer
- o200k_harmony, 201,088 tokens, in every training stage
- Compute
- 2.1 million H100-hours; gpt-oss-20b needed almost ten times fewer
- Software
- PyTorch with expert-optimized Triton kernels, and Flash Attention
- Objective
- Next-token prediction, the default for an autoregressive language model
- Trainable
- All parameters, the default
Sources2
- gpt-oss-model-card-2508.10925v1.pdf, p. 6Data, Filtering, Tokenizer, Compute, Software, Trainable
- gpt-oss-model-card-2508.10925v1.pdf, p. 4Objective