nanoGPT

nanoGPT is a minimal open-source codebase released by Andrej Karpathy for training GPT-style language models.

2 articlesLast mentioned

nanoGPT is an open-source project released on GitHub by Andrej Karpathy. It implements training and fine-tuning of medium-sized GPT models in a short, readable Python and PyTorch codebase, and includes an example that reproduces a GPT-2 model with 124 million parameters from scratch.

Because the code is compact, it is widely used for learning how language model training works and as a starting point for experiments.

This entry is based on AIPOST articles and widely known facts. If something is wrong, please send us a correction request.

Articles covering this entry

  • GPT-6.2 Astra: Cheaper per Task and Strong in 3D, but Not the Top ModelAI News ·

    …kernels (performance-critical code) for accelerator chips, and speeding up NanoGPT pretraining scripts, which handle the initial training of a small language m…

    Read article
  • Optimizer Speedrun: Codex and Claude Code Beat Human RecordsAI Performance ·

    Unlike a full NanoGPT speedrun, where researchers can change nearly everything except the raw data, this track holds the model architecture and data fixed.

    Read article

Found a mistake or missing an entry?

Wiki entries are based on AIPOST articles and widely known facts. If an entry is wrong, send us a correction request and we will check and fix it. Names from new articles are added to the wiki after the article is published.