Skip to content

Definition

The attention-based neural network architecture that has dominated generative AI since 2017.

The transformer is the architecture introduced in Attention Is All You Need (Vaswani et al., 2017). It replaces recurrent networks with an attention mechanism that processes sequences in parallel. It's the foundation of GPT, Claude, Gemini, Llama and DeepSeek.