GOD.EXEA god's-eye view of the AI universe
2026Drag to orbit · right-drag to pan · scroll to zoom
GOD.EXE is booting…

Framework

nanoGPT

nanoGPT is an open-source AI framework, launched in 2022, made for developers.

A minimal PyTorch codebase for training and fine-tuning GPT-2-sized models.

Main jobs: Fine-tuning, Model training. It is open source and free to use. You can use it in the terminal and offline on your own machine.

Visit github.com

Markdown version of https://godooo.ai/en/framework/nanogpt. Every page on this site has one: add .md to its address.

At a glance

Launched
2022
Open source
Yes · MIT
GitHub stars
63,353
How you run it
Terminal · Runs offline
Made for
Developers
Website
github.com

What it can do

  • Fine-tuningmain jobunconfirmed

    “train new models from scratch, or finetune pretrained checkpoints”— github.com, 2026-09-24
  • Model trainingmain jobunconfirmed

    “The simplest, fastest repository for training/finetuning medium-sized GPTs.”— github.com, 2026-09-24

unconfirmedproposed by a machine, awaiting calibration

Alternatives

Connections

Created by
Andrej Karpathy
Built with
PyTorch

Questions

What is nanoGPT?

nanoGPT is an open-source AI framework, launched in 2022, made for developers. A minimal PyTorch codebase for training and fine-tuning GPT-2-sized models.

Is nanoGPT free?

Yes. nanoGPT is open source (MIT) and free to use.

Is nanoGPT open source?

Yes, under the MIT license. The source code is at https://github.com/karpathy/nanoGPT.

Can nanoGPT run locally?

Yes. nanoGPT can run offline on your own machine.

What can nanoGPT do?

Main jobs: Fine-tuning, Model training.

What are open-source alternatives to nanoGPT?

Open-source ones: Kohya's GUI, LlamaFactory, MLX, TRL, Unsloth, PyTorch, TensorFlow and Transformers. Others: Hugging Face.

Sources