Logo
Agent Skills Guide

nanogpt

published 2026/01/26

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).

📦 Install Skill

Command line install

Install directly with the `skills` CLI.

npx skills add davila7/claude-code-templates/cli-tool/components/skills/ai-research/model-architecture-nanogpt

Local download

Download only this skill directory.

Download nanogpt only
File Explorer
0 files
No file selected
readonly

Select a file to view its content