Jesse A. Green / notebook

karpathy/nanochat

nanochat is the simplest experimental harness for training your own ChatGPT-style large language model (LLM) end to end on a single GPU node.

Generated June 2026 from karpathy/nanochat at dc54a1a

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.

Guides

Source and caveats

Built from the public repository github.com/karpathy/nanochat at commit dc54a1a. 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.