Index Ai Academy
Glossary · Phase 2 · Math, when you need it

Perplexity

How many words a language model is effectively choosing between at each step. Lower is better; it's e to the cross-entropy.

Learn it properly

Cross-entropy and KL divergence · The loss function language models are trained on. About 30 minutes.

Open the lesson Create a free account

Other terms from the same lesson