Explain it in 60 seconds
Decoder-only transformers
Machine Learning · LLM Fundamentals · Intermediate
How does a decoder-only transformer, like GPT-style models, work?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Stack of transformer blocks with masked (causal) self-attention.
- Each token attends only to previous tokens.
- Trained to predict the next token at every position.
- Same architecture handles prompts and generation.
- Most modern LLMs are decoder-only.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.