llm-internals
Learn LLM internals step by step - from tokenization to attention to inference optimization.
- 1.8k
- Apache-2.0
- 2 d ago
Learn LLM internals step by step - from tokenization to attention to inference optimization.
We read all 512K lines of Claude Code's accidentally exposed source. 82 docs, 15 diagrams, every subsystem mapped — from the hidden YOLO safety classifier to multi-agent swarms.
Mechanistic interpretability of transformer hallucinations via attention flow, residual stream geometry, and head-level attribution analysis.