Phase 05: NLP — Foundations to Advanced
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
Loading lesson page...