How does a decoder-only transformer generate text?
Reveal the answer and explore the explanation.
12MediumHigh priorityHow does a decoder-only transformer generate text?
Answer
MediumHigh priority
How does a decoder-only transformer generate text?
Answer
Uses autoregressive transformer blocks to predict next tokens with causal attention.
Practical example
Generate a response conditioned on a preceding prompt.
Reference: Further reading ↗