8 lessons: tokenizer, bigram table, weighted die with temperature, loss, gradient training, n-grams and overfitting — on all of Shakespeare's plays, in pure Python right in the browser. The hands-on companion to "How AI Works".
What you'll build
🔤Your own tokenizer
🎲A text generator with temperature
📉Loss 4.17 → 2.5 with your own eyes
🧪Overfitting caught live
📘 8 lessons⏱ 1-2 evenings🎓 Intermediate
🎯 Mission
Build and train a language model with your own hands