Transformer
The model design behind most of today's large language models, which processes text by working out how each word relates to the others around it.
How settled is it?
Mostly settled
Most people and products mean the same thing, with small differences.
How did we score this?Who uses it?
Power users
Common among people who use AI heavily or build things for their team.
What it is
The transformer is a neural network design introduced by researchers at Google in the 2017 paper "Attention Is All You Need," built around a mechanism called attention that lets the model weigh which other words in a passage matter most for understanding each one. Because it handles all the words in a passage at once rather than one at a time, it trains much faster on huge amounts of text, which is what made today's large language models (LLMs) practical. It is the T in GPT, and it works a little like an editor who reads the whole draft before marking up any line, rather than reading word by word.
Keeping it straight
How you'll hear it
“Our vendor says their new model isn't a transformer. Is that a breakthrough or just marketing?”
People also say transformer model or transformer architecture.
Not to be confused with
A transformer is the design. A large language model is a model built with a design like it and trained on huge amounts of text; most are transformers, but the words are not interchangeable.
The honest part
The name has nothing to do with electrical transformers or toy robots, and Transformers is also the name of a popular open-source code library from Hugging Face, which adds to the noise. The design has a known cost: relating every word to every other word takes much more computing as the text gets longer, which is part of why long documents cost more to process and why a context window has a limit. Researchers have proposed alternatives aimed at that weakness, so "it's a transformer" may not stay true of every new model.
Why it matters at work
You don't need to understand attention to use AI well, but the word is a useful marker: because the leading models share this basic design, the differences between tools come mostly from their data, their training and the product built around the model. Treat a vendor's claim of a revolutionary new architecture as something to test on your own work, not a reason on its own to switch.
Read next
- Large language model (LLM)The type of AI model, trained on enormous amounts of text, that reads and writes language by predicting what words should come next.
- GPT (generative pre-trained transformer)A type of AI language model and the name of OpenAI's main model family; people also use it loosely for any AI chatbot.
- Context windowThe maximum amount of material an AI model can hold and work with at once, including your messages, its replies, files and instructions.
Missing a word? Suggest one