QUESTION 2 OF 10

Why are decoder-only models suitable for autoregressive text generation?

Reveal the answer and explore the explanation.

02
EasyCore

Why are decoder-only models suitable for autoregressive text generation?

Answer
Answer

Causal self-attention conditions predictions on a prefix, allowing generation by repeated next-token prediction.

Practical example

Generate an answer one token at a time.

Reference: Further reading ↗

Last 30 min revisionHigh-yield interview Q&As