Learned per-head scalar added inside the softmax denominator, giving each attention head an escape valve so weights no longer sum to 1.
NTK-by-parts inverse frequency scaling that extends RoPE to long contexts.
Causal mask that restricts each query to the previous W tokens, used on alternating attention layers.
Forward pass combining grouped-query attention, optional sliding window, and learned softmax sinks.
Microscaling FP4: dequantize 4-bit expert weights using a shared per-block FP8 scale.
Top-k expert routing with softmax taken after the top-k selection, not before.
Sparse MoE forward: route, run clamped-SwiGLU experts, weighted-sum the outputs.
Pre-norm GPT-OSS block: RMSNorm, GQA attention with sinks plus optional sliding window, residual, RMSNorm, sparse MoE, residual.
Embedding plus stacked GPT-OSS blocks (alternating attention pattern), final RMSNorm, lm head logits.