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

luokai0 Updated 10 repo stars

File contents

luokai0/ai-agent-skills-by-luo-kai/tree/main/ai-agent-skills/18-ai-agents-and-automation (by Luo Kai)/16-other-agents/nanogpt commit c358cdb0d8

Frequently asked questions

npx skillmds@latest add luokai0/nanogpt