QUESTION 6 OF 10

What is teacher forcing in sequence generation training?

Reveal the answer and explore the explanation.

06
MediumHigh priority

What is teacher forcing in sequence generation training?

Answer
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 ↗

Last 30 min revisionHigh-yield interview Q&As