nanogpt
95 / 100 · Low risk
Fine to try.
Minimal GPT pretraining and fine-tuning (nanoGPT). The simplest, fastest repository for training medium-sized GPTs with ~300-line model.py and ~300-line train.py. Reproduces GPT-2 (124M) on OpenWebText. Supports DDP multi-GPU/multi-node, character-level training, weight loading from HuggingFace GPT-2 checkpoints, and simple finetuning. Note: superseded by nanochat for new projects; this repo remains valuable as a reference implementation and learning tool.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'nanogpt' ] || [ -L ~/.agents/skills/'nanogpt' ]; then echo 'A skill folder named nanogpt already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/mkurman/zorai' "$d" && git -C "$d" checkout --quiet '8ea1fc3ae126b6e103b8508bacd8f5aa60b6f4ad' -- 'skills/scientific-skills/nanogpt' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/scientific-skills/nanogpt' ~/.agents/skills/'nanogpt' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'nanogpt' ~/.claude/skills/'nanogpt' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/mkurman/zorai/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-13 | 8ea1fc3 | 95 |