AI From Scratch/Phase 05/Lesson 16/~45 minutes

Text Generation Before Transformers — N-gram Language Models

BuildPython

If a word is surprising, the model is bad. Perplexity makes surprise a number. Smoothing keeps it finite.

Loading lesson page...