Index Ai Academy
Glossary · Phase 5 · Transformers

Teacher forcing

Training on real text by predicting every next token at once from the true earlier tokens, not the model's own guesses.

Learn it properly

Causal masking · Stop tokens from seeing the future. About 25 minutes.

Open the lesson Create a free account

Other terms from the same lesson