Home Tools Glossary Transformer
Model

Transformer

Transformer Architecture

/trans-for-mer/

A neural network architecture introduced in 2017 that relies entirely on self-attention mechanisms, revolutionizing natural language processing.

In plain English
Imagine a group of translators reading an entire book simultaneously while highlighting which words relate to each other, rather than reading word-by-word. The Transformer architecture processes all words in a sequence in parallel, capturing long-range context far better than older sequential models.
Real-world example
Serving as the foundational backbone for state-of-the-art language models, vision transformers, and multi-modal AI systems.
Technical definition
The Transformer is a deep learning architecture based on multi-head self-attention and position-wise feed-forward networks, dispensing with recurrence and convolutions entirely. It computes contextualized representations by mapping queries, keys, and values to output vectors via scaled dot-product attention. This parallelizable design overcomes the vanishing gradient and computational bottlenecks of recurrent neural networks.