Select a component to explore it.Inside multi-head attention · Transformer layers 1–9696 heads.
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
Transformer layers 1–96 · 96 repetitions
Dense feed-forward networks. Attention alternates between dense and locally banded sparse patterns across layers; the paper does not give the order or the band width.
Attention and positions
96 heads of 128 values, each with its own keys and values; context of 2,048 tokens. Layers alternate between dense and locally banded sparse attention, similar to the Sparse Transformer.
Memory
Keys and values for all 96 heads, 128 values each, per token per layer (dense layers).
The 175B stack
GPT-3 retains GPT-2’s pre-normalised dense transformer layout but alternates dense and locally banded sparse attention.
Ninety-six layers at width 12,288, with 96 heads of width 128.
Training sequences contain 2,048 tokens.
The paper reuses the GPT-2 tokenizer and describes the remaining architecture as unchanged.
The attention box identifies the mixed mask pattern; the paper does not give a numerical local-window width.
Learned positions: a vector for every place in the textcoming soonGives every position in the text its own trained vector, added to the token embedding.