Code
nanochat
Summary
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).
- Venue
- RiddleHe (GitHub)
- Source
- github
- Access
- free
- License
- MIT
- License family
- Permissive
- Purpose
- Fork of karpathy/nanochat for architecture ablations and RL objective ablations
- Scale
- 58 stars; 5 forks at check. Ablation scripts for d12 and d24 FLOP budgets; DCLM CORE suite 21 ICL tasks in configs/core.yaml.
- Time period
- GitHub created 2026-03-17; pushed 2026-08-14; updated 2026-08-05. Discord posted 2026-05-31. Upstream karpathy/nanochat 2025.
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Repository
- RiddleHe/nanochat
- Created
- Mar 17, 2026
- Last push
- Oct 1, 2026
- Stars
- 59
- Forks
- 6
- Main language
- Python
Tags
Topics
small LM pretraining, RL ablations
Research notes
- Primary: GitHub README + API (MIT, Python, 58 stars / 5 forks at check; fork of karpathy/nanochat). Discord posted papers/bank_of_values.pdf; that path and papers/ 404 at check. Cataloged the repo URL as the leftover GitHub item. Training/eval uses public DCLM CORE fixtures in-repo, not a new hosted corpus, so no datasets_local row.
Similar entries
- Thread Reward design lessons from 7,780 MiMo RL environments (X thread)
- Model Beam (Reflection AI) — 501B open-weight MoE with the largest publicly documented RL run
- Model flow-1 (Laminar) — RL-trained model for agent trace error detection
- Post (auto)²-research: SoTA on Karpathy's NanoChat Benchmark
- Post SFT, RL, and On-Policy Distillation Through a Distributional Lens
- Paper Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL