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).
$npx -y skills add firecrawl/ai-research-skills --skill nanogptInstalls into the current project.
Run `npx skills use "https://github.com/firecrawl/ai-research-skills" --skill "firecrawl/ai-research-skills/nanogpt"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/firecrawl/ai-research-skills" that are relevant to the current task. Run `npx skills add "https://github.com/firecrawl/ai-research-skills"` and select the relevant skills, then follow their instructions.