Giverny

Nanogpt

Educational GPT implementation in ~300 lines. Reproduces GPT-2 (124M) on OpenWebText. Clean, hackable code for learning transformers. By Andrej Karpathy. Perfect for understanding…

by Orchestra-Research★ 14,933General

What Nanogpt does

Educational GPT implementation in ~300 lines. Reproduces GPT-2 (124M) on OpenWebText. Clean, hackable code for learning transformers. By Andrej Karpathy. Perfect for understanding GPT architecture from scratch. Train on Shakespeare (CPU) or OpenWebText (multi-GPU).

How to install Nanogpt in Claude Code

Giverny gives you a ready prompt with the exact install command from Orchestra-Research/AI-Research-SKILLs. Sign in with GitHub, copy the prompt and paste it into Claude Code; Claude installs the skill and confirms it loaded. To install by hand, clone Orchestra-Research/AI-Research-SKILLs and copy the 01-model-architecture/nanogpt folder into ~/.claude/skills/.

How to use it

Once installed, Claude loads Nanogpt on its own whenever your request matches what the skill does. You can also ask for it by name, for example: “Use the nanogpt skill on my current project.”

More Claude skills for general