learn
Transformer
What Transformer means, how it works, and which tools and models on this site relate to it.
Definition
The transformer is the neural architecture behind most modern language and multimodal models. It uses attention to relate tokens in a sequence.
How it works
Each token attends to others, building contextual representations in stacked layers. Variants trade depth, width, and attention design for cost and quality.