mej7.comHow AI Works

d_model

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

The width of the residual stream. GPT-2 small uses 768. Teaching diagrams on this site that show 768 are using that familiar width, not measuring a live model.

In one paragraph. The width of the residual stream. GPT-2 small uses 768. Teaching diagrams on this site that show 768 are using that familiar width, not measuring a live model.

Used in

Related terms

Full glossary