mirror of
https://github.com/karpathy/nanochat.git
synced 2026-03-11 03:35:32 +00:00
The best ChatGPT that $100 can buy.
| .claude/skills/read-arxiv-paper | ||
| dev | ||
| nanochat | ||
| runs | ||
| scripts | ||
| tasks | ||
| tests | ||
| .env | ||
| .gitignore | ||
| .python-version | ||
| LICENSE | ||
| pyproject.toml | ||
| README.md | ||
| uv.lock | ||
sh
python -m nanochat.report resetpython -m scripts.tok_train --max_chars=2000000000python -m scripts.tok_evaltorchrun --standalone --nproc_per_node=1 -m scripts.base_train -- --depth=18 --device-batch-size=1torchrun --standalone --nproc_per_node=1 -m scripts.base_eval -- --device-batch-size=1torchrun --standalone --nproc_per_node=1 -m scripts.chat_sft -- --device-batch-size=1torchrun --standalone --nproc_per_node=1 -m scripts.chat_eval -- -i sftpython -m scripts.chat_cli -p "Why is the sky blue?"python -m scripts.chat_webpython -m nanochat.report generate