the.ai

Architecture / Blocks

verified

Decoder-Only Transformer

The original transformer had an encoder that read and a decoder that wrote. Modern language models keep only the decoder: one stack, causally masked, trained to predict the next token. Everything else — translation, answering, summarising — is expressed as a continuation of text rather than a separate mechanism.

Viz primitive · budget-splitlayers = 8

layers holds 80% of the budget; rest holds the remaining 20%.

Parameters in the repeated block stack against the embedding and head around it, both in layers' worth. Drag the depth to watch the stack dominate as the model grows.

8

Reviewed by opendroid · 2026-08-04