Repository brief

karpathy/nanochat

Read the upstream summary on the left, browse the cached forks below it, and load each fork comparison into the right-hand panel.

Cached analysis
cached 2026-03-30T12:35:52.728Z

karpathy/nanochat

karpathy/nanochat is a Python-based, single-GPU experimental harness for training and chatting with LLMs, positioned as a minimal, hackable full-stack ChatGPT clone. It covers tokenization, pretraining, finetuning, evaluation, inference, and a web chat UI, and is currently optimized around a GPT-2 speedrun benchmark with active development focused on pretraining efficiency.

GitHub
Stars50,662
Forks6,644
Default branchmaster
Last pushed2026-03-27T13:44:17Z
Best maintainedNone
Closest to upstreamsh4lu-z/nanochat
Most feature-richHarleyCoops/nanochat561
Most opinionatedHarleyCoops/nanochat561
Forks

Choose a fork to inspect

10 cached fork briefs