Demonstrates, at very small scale, how a language model is trained (three-context model with explicit transform stage).
python mkdocs teaching educational reproducibility language-model softmax-regression computer-science-education probabilistic-model uv pyright src-layout machine-learning-education next-token-prediction toy-gpt toy-model inspectable-models three-context-model
-
Updated
Jan 18, 2026 - Python