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 GPT architecture from scratch. Train on Shakespeare (CPU) or OpenWebText (multi-GPU).

synthetic-sciences 5d1599d 4 files · 42.0 KB Updated

File contents

synthetic-sciences/openscience/tree/main/backend/cli/skills/ml-training/nanogpt commit 5d1599d8e5

Frequently asked questions

npx skillmds@latest add synthetic-sciences/nanogpt