Answered from Introduction to Multi-Head Attention (MHA) | The attention family series - Lecture 8 · The attention family · 2026-10-03
Vizuara's Lecture 8 gives the usual rule: with an embedding dimension d and n heads, each head works in d divided by n dimensions. GPT-2 had a 768-dimensional embedding and 12 heads, so each head works in 64 dimensions. GPT-3 had a 12,288-dimensional embedding and 96 heads, which Sreedath Panat rounds to about 128 dimensions per head. Panat notes each head could in principle use the full embedding size, but compute would blow up, so the d over n split is what is done in practice.
Source: our own transcription of the episode. The full conversation is on The attention family (2026-10-03). Read the whole episode summary →