Index Ai Academy
Glossary · Phase 5 · Transformers

Decoder

Also written: decoders, decoder-only

A transformer that reads left to right and predicts the next token; each token can only see the ones before it. GPT-style chat models are decoders.

Learn it properly

The transformer block · Attention, MLP, residuals and norms together. About 35 minutes.

Open the lesson Create a free account

Other terms from the same lesson