{
  "id": 602,
  "kind": "code",
  "title": "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).",
  "body": "",
  "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.",
  "url": "https://github.com/RiddleHe/nanochat",
  "links": [],
  "authors": [
    "Muyu He",
    "Yuchen Liu"
  ],
  "tags": [
    "nanochat",
    "karpathy",
    "architecture-ablation",
    "rl",
    "nanorl",
    "dclm-core",
    "small-lm"
  ],
  "topics": "small LM pretraining, RL ablations",
  "venue": "RiddleHe (GitHub)",
  "publisher": "",
  "source": "github",
  "language": "",
  "access": "free",
  "license": "MIT",
  "published_year": 2026,
  "added_at": "2026-08-14T18:45:00.000Z",
  "verified_at": "2026-08-14T18:45:00.000Z",
  "attrs": {
    "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.",
    "purpose": "Fork of karpathy/nanochat for architecture ablations and RL objective ablations",
    "time_period": "GitHub created 2026-03-17; pushed 2026-08-14; updated 2026-08-05. Discord posted 2026-05-31. Upstream karpathy/nanochat 2025."
  },
  "enrichment": {
    "github": {
      "forks": 6,
      "stars": 59,
      "pushed": "2026-10-01",
      "created": "2026-03-17",
      "license": "MIT",
      "archived": false,
      "language": "Python",
      "full_name": "RiddleHe/nanochat",
      "fetched_at": "2026-10-03T14:33:37.556Z"
    }
  },
  "enriched_at": "2026-10-03T14:33:37.603Z",
  "license_class": "permissive",
  "langs": [],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "channel": "random-papers",
    "legacy_paper_id": "621",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T14:33:37.603Z",
  "page": "https://papers.projxon.ai/entries/602",
  "markdown": "https://papers.projxon.ai/entries/602.md",
  "api": "https://papers.projxon.ai/api/entries/602",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 794,
      "kind": "thread",
      "title": "Reward design lessons from 7,780 MiMo RL environments (X thread)",
      "summary": "X thread of reward-design lessons learned from the 7,780 RL environments Xiaomi open-sourced for MiMo training. Thread starts from the premise that in RL environments, reward design is everything. Visible lessons include: verifying rewards, reward terms and cheating (gaming), scoring broken runs as 0, and a FineEnvs-built explorer for all 7,780 environments that lets anyone open a task to read the exact agent prompt, grader and judge prompts, then run a rollout with any Hugging Face model or a custom endpoint.",
      "url": "https://x.com/adithya_s_k/status/2105186691007017123",
      "authors": [
        "Adithya S K"
      ],
      "tags": [
        "rl",
        "reward-design",
        "rl-environments",
        "mimo",
        "agents",
        "reward-hacking"
      ],
      "venue": "X (Twitter)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/794",
      "markdown": "https://papers.projxon.ai/entries/794.md",
      "api": "https://papers.projxon.ai/api/entries/794"
    },
    {
      "id": 1267,
      "kind": "model",
      "title": "Beam (Reflection AI) — 501B open-weight MoE with the largest publicly documented RL run",
      "summary": "Reflection AI's first public model: 501B-parameter text-only MoE with 23B active per token, 1M context window, positioned as the US open-weight answer to DeepSeek/Qwen ('AI factories' for enterprises and sovereign nations). Pretrained on 23.8T tokens (95% of raw internet removed; ~1.8T high-quality tokens kept that conventional filters would drop) in under 4 weeks on 6,144 GB300 NVL72 GPUs (92.3% goodput, 9 semi-automatic rewinds); midtraining extended effective context to 1M. Architecture: interleaved local + global attention with fine-grained routed experts; auxiliary-loss-free load balancing from DeepSeek-V3 plus cosine decay of expert-bias updates (busiest expert only 1.04x average load); residual norms bounded via depth-based scaling, SandwichNorm, attention gating, and FP32 residual accumulation. RL is the central scaling axis — the largest publicly documented RL run: 10.5K GB300 GPUs for 4 weeks, 100M+ rollouts (256K max rollout context), ~1.3B sandboxes (46.4M/day) across ~1M coding/agentic/STEM environments; fully asynchronous policy gradients with every token tagged by policy version, staying stable at 1-day staleness (107 weight versions behind); 110K concurrent rollouts; new weights to the inference fleet in median 12s; 71 inference incidents handled without stopping training; no plateau on Terminal-Bench 2.1/HLE/DeepSWE; controllable length penalty taught shorter-then-longer reasoning. Company-published benchmarks: Terminal-Bench 2.1 80.1 (vs GLM 5.2 81.0), SWE-bench Pro v1 65.5 (vs GLM 5.2 62.1); claimed 3-4x more inference-efficient than GLM 5.2 on a model-compute comparison that excludes prefill/attention/overhead. Caveats: all numbers are company-published with no independent verification; weights not yet released. Company context: founded Mar 2024 by ex-DeepMind Misha Laskin (CEO) and AlphaGo co-creator Ioannis Antonoglou (CTO); Nvidia-backed, ~$25B valuation; $6.3B SpaceX Colossus 2 + $1B Nebius GB300 deals through 2029; DOE and Dept of War model-supply partnership.",
      "url": "https://www.marktechpost.com/2026/10/05/reflection-ai-introduces-beam-a-501b-open-weight-moe-model-with-23b-active-parameters-for-coding-and-agentic-workloads/",
      "authors": [
        "Reflection AI (Misha Laskin",
        "Ioannis Antonoglou)"
      ],
      "tags": [
        "beam",
        "reflection-ai",
        "open-weight",
        "moe",
        "rl",
        "sandboxes",
        "gb300",
        "async-policy-gradients"
      ],
      "venue": "Reflection AI technical announcement, 5 Oct 2026 (weights + technical report planned under Apache 2.0 later in October)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-06T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1267",
      "markdown": "https://papers.projxon.ai/entries/1267.md",
      "api": "https://papers.projxon.ai/api/entries/1267"
    },
    {
      "id": 1266,
      "kind": "model",
      "title": "flow-1 (Laminar) — RL-trained model for agent trace error detection",
      "summary": "Model trained with RL to find hard-to-spot errors in agent traces and explain why they happened, running inside Laminar's 'Signals agent' harness — works like a coding agent, treating the trace as a repo and each span as a file; starts from a full-trace preview + a user prompt ('identify any logical errors'), greps across spans, reads them in full, and returns structured JSON following the user's schema. Training: SFT on synthetic investigations of realistic workflows across software (48.2%), customer support/telecom (20.3%), web/assistant (9.2%), legal (7.7%), CRM/sales (6.5%), enterprise analytics (3.5%), finance (2.4%), knowledge work (1.3%), healthcare admin (1.0%), then RL inside the Signals agent with the same tools it has in production (tool use, schema adherence, complex-trace investigation). On Laminar's Signals benchmark of 523 difficult agent traces: flow-1 .835/.741 Detection/Description F1 vs GPT-6-sol (high) .816/.728 — matches sol-level analysis while flagging fewer false positives (higher precision .817 vs .703); below Claude Opus 5 (.890/.848). Cost: $0.05/1M input, $0.01 cached, $0.30 output — 888 traces per $1 ($0.0011/trace) vs 38 for sol ($0.026), 668 for luna ($0.0015), i.e. ~23x more traces per $1 than sol at same quality; 25% cheaper than luna with better detection. Honest caveats in the post itself: flow-1 missed a contract redline that omitted mandatory AI-governance protections while both GPT-6 models caught it. Another RL checkpoint is training to make flow-1 a more efficient thinker. Production use case: monitor every agent run without sampling; turn traces into regression tests, evals, and signals for what to build next. No weights/code released; model served via Laminar's platform.",
      "url": "https://laminar.sh/blog/flow-1",
      "authors": [
        "Laminar (Robert Kim",
        "founder)"
      ],
      "tags": [
        "flow-1",
        "laminar",
        "agent-traces",
        "failure-detection",
        "rl",
        "agent-monitoring",
        "signals"
      ],
      "venue": "Laminar blog post, 2 Oct 2026 (no arXiv paper at this time)",
      "source": "x",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-05T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1266",
      "markdown": "https://papers.projxon.ai/entries/1266.md",
      "api": "https://papers.projxon.ai/api/entries/1266"
    },
    {
      "id": 718,
      "kind": "post",
      "title": "(auto)²-research: SoTA on Karpathy's NanoChat Benchmark",
      "summary": "rekursiv.ai's '(auto)²-research' blog describes a swarm of AI agents that improved on the previous NanoChat state of the art in three days, reaching 0.887791 mean bits-per-byte with a 5-minute training budget on one B200. The system ran 6,164 experiments and, notably, also improved its own research process — revising instructions and handoffs between waves — using open-source tooling (Trackinizer, Priml, Configgle).",
      "url": "https://rekursiv.ai/blog/autoautoresearch/",
      "authors": [
        "rekursiv.ai team"
      ],
      "tags": [
        "ai-scientist",
        "automated-research",
        "nanochat",
        "agents"
      ],
      "venue": "rekursiv.ai blog",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/718",
      "markdown": "https://papers.projxon.ai/entries/718.md",
      "api": "https://papers.projxon.ai/api/entries/718"
    },
    {
      "id": 1095,
      "kind": "post",
      "title": "SFT, RL, and On-Policy Distillation Through a Distributional Lens",
      "summary": "Independent technical essay arguing that SFT pulls toward a fixed external dataset (forward-KL / catastrophic-forgetting risk), RL reshapes regions the current policy already visits, and on-policy distillation (OPD) is in between: teacher logits with student-generated states. Reports a minimal code-editing task (fix a corrupted function and nothing else) where SFT and RL teachers both learn the task but RL generalizes better and forgets less on LiveCodeBench v6. OPD students from either teacher look similar, slightly beat the RL teacher on the editing metrics, and forget less than the SFT teacher even when distilled from it. Prefers Shenfeld et al.'s nearest-task-solving-policy view of on-policy data over KL-direction or uniform-token-gradient stories as the main anti-forgetting mechanism. Discusses GLM 5 / DeepSeek v4 using OPD to merge experts and MiMo-V2 Flash Table 7 domain-wise teacher recipes. No new public dataset or weights.",
      "url": "https://nrehiew.github.io/blog/sft_rl_opd/",
      "authors": [
        "nrehiew (GitHub nreHieW)"
      ],
      "tags": [
        "sft",
        "rl",
        "on-policy-distillation",
        "opd",
        "opsd",
        "catastrophic-forgetting",
        "post-training",
        "livecodebench",
        "distributional-view",
        "independent-blog"
      ],
      "venue": "nrehiew.github.io",
      "source": "web",
      "license": "",
      "published_year": null,
      "added_at": "2026-09-01T18:32:46.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1095",
      "markdown": "https://papers.projxon.ai/entries/1095.md",
      "api": "https://papers.projxon.ai/api/entries/1095"
    },
    {
      "id": 778,
      "kind": "paper",
      "title": "Extrapolative Weight Averaging Reveals Correctness-Efficiency Frontiers in Code RL",
      "summary": "Studies RL for competitive programming where hidden unit tests enforce both correctness and efficiency. Training checkpoints under nested unit-test coverage reveals a correctness-efficiency frontier: higher-coverage rewards reduce optimization failures but increase correctness failures. Interpolation between low- and high-coverage checkpoints recovers the frontier; extrapolation extends it beyond trained endpoints, across pure reasoning, tool-use, and agentic coding settings and 32B/7B scales. Ensembles with extrapolative weight averaging broaden coverage and improve pass@250 on LCB/hard by 3.3% over the best single checkpoint.",
      "url": "https://arxiv.org/abs/2605.28751",
      "authors": [
        "Kunhao Zheng",
        "Pierre Chambon",
        "Juliette Decugis",
        "Jonas Gehring",
        "Taco Cohen",
        "Benjamin Negrevergne",
        "Gabriel Synnaeve"
      ],
      "tags": [
        "weight-averaging",
        "rl",
        "code",
        "correctness-efficiency-frontier",
        "extrapolation",
        "inference-scaling"
      ],
      "venue": "arXiv",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 1,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/778",
      "markdown": "https://papers.projxon.ai/entries/778.md",
      "api": "https://papers.projxon.ai/api/entries/778"
    }
  ]
}
