Guides
- User Guide4,946 words, about 22 min to read. Markdown
- Admin Guide6,083 words, about 26 min to read. Markdown
nanoGPT is Andrej Karpathy's minimal, hackable reference implementation of GPT for training and finetuning small-to-medium language models.
Generated April 2026 from karpathy/nanoGPT at 3adf61e
AI-generated documentation. The library is checked by sampling (three repositories so far); this guide was not individually reviewed. Verify against the project before relying on it.
Built from the public repository github.com/karpathy/nanoGPT at commit 3adf61e. Upstream may have moved on since.
Unofficial; not affiliated with or reviewed by the project. How the guides were made, and how they were checked: guide library.