mej7.comHow AI Works

d_head

Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.

The width of one attention head's Q/K/V, often d_model / n_heads (64 for GPT-2 small).

In one paragraph. The width of one attention head's Q/K/V, often d_model / n_heads (64 for GPT-2 small).

Used in

Related terms

Full glossary