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

hackernoon Updated 2 repo stars
Pixel cuttlefish

File contents

hackernoon/cuttlefish-agent-skills commit 1ba0d538e2

Frequently asked questions

npx get-skill add hackernoon/model-architecture-nanogpt