What is teacher forcing in sequence generation training?
Reveal the answer and explore the explanation.
06MediumHigh priorityWhat is teacher forcing in sequence generation training?
Answer
MediumHigh priority
What is teacher forcing in sequence generation training?
Answer
Training provides ground-truth previous output tokens rather than the model's own sampled outputs.
Practical example
Predict the next translation token given the reference prefix.
Reference: Further reading ↗