Explore the research collection
1 entry · Follow this search
- Code
nanochat
RiddleHe/nanochat forks karpathy/nanochat into two hackable frameworks: nanochat/ for pretraining architecture variants (boolean flags in gpt_base.py, model_registry.py, torchrun scripts/base_train.py, DCLM CORE eval via scripts/base_eval.py) and nanorl/ for RL objective-function ablations (ALGORITHMS in nanorl/loss.py, vLLM rollout worker synced to a torchrun trainer). Ablations.sh runs d12/d24 FLOP-budget batches and skips existing checkpoints. MIT. Cite: Muyu He, Yuchen Liu 2026 (nanochat-arch).