# 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.

- Who uses it: Power users
- How settled: Mostly settled (agreement score 69/100, higher means more agreement). It traces to one well-known 2017 paper and researchers use it precisely, but consumer docs rarely mention it, the word has unrelated everyday meanings, and newer models blend it with other designs.
- Last updated: 2026-11-30

## What it is

The transformer is a [neural network](https://www.olmstedlabs.com/dictionary/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](https://www.olmstedlabs.com/dictionary/large-language-model) (LLMs) practical. It is the T in [GPT](https://www.olmstedlabs.com/dictionary/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

[Large language model (LLM)](https://www.olmstedlabs.com/dictionary/large-language-model): 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](https://www.olmstedlabs.com/dictionary/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)](https://www.olmstedlabs.com/dictionary/large-language-model): 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)](https://www.olmstedlabs.com/dictionary/gpt): 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 window](https://www.olmstedlabs.com/dictionary/context-window): The maximum amount of material an AI model can hold and work with at once, including your messages, its replies, files and instructions.

## How we scored it

- Vendor alignment: 18/25
- Usage consistency: 17/25
- Definition stability: 18/25
- Clear boundaries: 16/25
- Total: 69/100
- Trend: Holding steady
- Method: https://www.olmstedlabs.com/dictionary/methodology

Missing a word? Suggest one: https://www.olmstedlabs.com/dictionary/suggest

## What changed

- 2026-11-30: Entry created.

Source: https://www.olmstedlabs.com/dictionary/transformer
