How shunzh/llm.ipynb works
This repository is a small collection of educational deep-learning notebooks, not a packaged application. Its documented capabilities are a decoder-only Transformer notebook covering architecture, training, and generation, an AdamW comparison on toy regression, and a separate KV-cache notebook. The README supports user-to-notebook relationships, but no source excerpts were provided, so internal calls or data flow are not asserted.
Main entry points: llm.ipynb Transformer workflow · llm_with_kv_cache.ipynb KV-cache Transformer · adamw.ipynb AdamW comparison
Components 4
Language modeling
- Transformer workflow
llm.ipynb - KV-cache Transformer
llm_with_kv_cache.ipynb
Optimizer study
- AdamW comparison
adamw.ipynb
Other components
- Notebook user
Connections 3
- Notebook user → Transformer workflow: runs
README.md - Notebook user → AdamW comparison: runs
README.md - Notebook user → KV-cache Transformer: runs