Loading lesson page...
AI From Scratch/Lesson 16/~45 minutes
Text Generation Before Transformers — N-gram Language Models
If a word is surprising, the model is bad. Perplexity makes surprise a number. Smoothing keeps it finite.
BuildPython
If a word is surprising, the model is bad. Perplexity makes surprise a number. Smoothing keeps it finite.