microgpt — 200 lines pure Python GPT, no deps
BlogAndrej KarpathyApr 9, 2026
AI Summary
十年简化的终点:整个 GPT 算法压缩到 200 行纯 Python,零依赖。不用 PyTorch,不用 NumPy——只有 Python 标准库。证明 LLM 的核心算法极其简洁。
37 more articles in this vault.
Import the full Andrej Karpathy vault to Burn 451 and build your own knowledge base.
Content attributed to the original author (Andrej Karpathy). Burn 451 curates publicly available writing as a reading index. For removal requests, contact @hawking520.