Glossary

What is Transformer architecture?

In Turkish: Transformer mimarisi · Topic: Models and training

A neural network architecture introduced in 2017 that uses an "attention" mechanism to evaluate the relationships among all the words in a text at once. Nearly all large language models are based on this architecture.

How does it work?

The transformer uses the "attention" mechanism to calculate how related each word in a sentence is to every other word. This lets it determine the meaning of a word like "bank" in a sentence such as "He sat on the bank" by looking at the surrounding words. Unlike older methods, it processes text in parallel rather than word by word in sequence, which allows very large models to be trained efficiently on GPUs.

Why does it matter?

Introduced in the 2017 paper "Attention Is All You Need" by Google researchers, this architecture forms the foundation of today's large language models. The "T" in GPT also comes from transformer.

Example

Models such as ChatGPT, Claude, Gemini and Llama all use different variants of the transformer architecture; the architecture has also become widespread in image and audio models.

FAQ

What does the T in GPT stand for?

GPT is the abbreviation of generative pre-trained transformer; the T stands for the transformer architecture.

What is the attention mechanism?

It is the method that calculates how much importance a model should give to which other words in the text while processing a given word. It forms the basis of understanding context.

Related guides

News mentioning "Transformer architecture"

1 stories
Lines of colorful JavaScript code displayed on a dark screen
Models

Z.ai unveils 750-billion-parameter GLM-5.4 with Loop Transformer architecture

Chinese AI company Z.ai has released GLM-5.4, its first Loop Transformer model. The model adds vision support and is open to GLM Coding Plan subscribers; API access and open weights will follow after safety work.

All terms