OpenAI · 2020-05 · Dense

GPT-3 175B (paper)

GPT-3 175B (paper) is a multi-head attention (MHA) transformer released by OpenAI in 2020-05, with 96 layers, hidden size 12288 and a context window of 2,048 tokens.

Reference architecture from the original paper; no open weights were released.

Layer stack

Attention ×96 · Layers 96

Key facts

FamilyOpenAI
Released2020-05
Params175 B
Context2,048 tokens
AttentionMHA (96:96)
Layers96
Hidden12,288
Heads96
Vocab50,257
Positionlearned-absolute
Norm
Activationgelu
Dtype
Architecture classgpt3-paper

Architecture overview

t₁ t₂ t₃ t₄ input tokens Embedding · Vocab 50,257 → Hidden 12,288 Q1 Q2 Q3 Qn KV1 KV2 KV3 KVn Heads 96 KV heads 96 head dim 128 · learned-absolute FFN · GELU FFN dim — × 96 transformer block Attention Feed-forward / MoE pre-norm Final norm · LM head → Vocab 50,257 p p p → next token Position learned-absolute Dtype Context 2K tok
Drawn from the shipped config.json · 96 layers / width 12,288 / context 2,048. Original diagram by this atlas.

Attention

multi-head attention (MHA) — 96 q-heads / 96 kv-heads.

Feed-forward / MoE

It is a dense model: all 175B parameters participate in computing every token.

Field-level comparison

Compared against the previous model of the same lab; where none exists, against the structurally closest model. The ratio column is this model divided by the comparison model.

Full-field comparison vs predecessor GPT-2
ModelGPT-3 175B (paper)GPT-2Ratio
model_typegpt3-papergpt2
architecturesGPT2LMHeadModel
hidden_size12288
num_attention_heads96
max_position_embeddings2048
layer_norm_epsilon0.00001
vocab_size5025750257≈1
_noteGPT-3 未开源权重,本表字段取自 arXiv:2005.14165 Table 2.1 (GPT-3 175B/davinci)
sourcepaper:arXiv:2005.14165
num_layers96
n_head_kv96
activationgelu
positional_encodinglearned:absolute
normalizationLayerNorm(pre+post)
residualpost-LN style
attentionMHA, alternating local(sp=256)/global per layer (GPT-3 paper §2.1)

Most similar architectures

Similarity values range from 0 (no shared categorical features) to 1 (identical profiles).

Raw config fields

14 fields
_noteGPT-3 未开源权重,本表字段取自 arXiv:2005.14165 Table 2.1 (GPT-3 175B/davinci)
sourcepaper:arXiv:2005.14165
model_typegpt3-paper
num_layers96
hidden_size12288
num_attention_heads96
n_head_kv96
max_position_embeddings2048
vocab_size50257
activationgelu
positional_encodinglearned:absolute
normalizationLayerNorm(pre+post)
residualpost-LN style
attentionMHA, alternating local(sp=256)/global per layer (GPT-3 paper §2.1)