Train a 1.7B model to solve Sudoku: from 0/30 to 22/30 with SFT then GRPO for ~$42
SergioPaniego · x · 2026-12-02
- An OpenEnv tutorial trains Qwen3-1.7B to play Sudoku via TextArena, one cell per tool call. Out of the box it solves 0/30 puzzles; after SFT on solver-generated games it hits 10/30; GRPO then lifts it to 22/30, with cell-fill accuracy at the 26-empty-cell level rising from 55.8% to 83.2%.
- The five-step pipeline: generate eval puzzles (free, CPU), generate SFT data (35s), SFT warmup (27 min on an A100, $1.10), GRPO (15h on an A100, $38), evaluation and GIFs ($2) — roughly $42 total, runnable on one GPU via Hugging Face Jobs.
- The authors caveat that this is a single run, greedy-decoded over a 30-puzzle sample; exact numbers shift across GPUs but the ordering holds. Training curves are on Trackio; scripts live in examples/sudoku, using TRL plus OpenEnv.
More from coding & agent
- Mistral Apps launches: ship fullstack apps for humans and agents in 4 commands — MistralAI · 2026-12-02
- Muse + Claude combo: text your way to a free personal admin running on Claude — thederbiedone · 2026-12-02
- Three Small Local Models vs One Rust Problem on 8GB VRAM: Only One Passed — AutisticBengali · 2026-12-02
- Skip the mask: rebuild it in 3D with Claude instead — PurzBeats · 2026-12-02
- Agent-Generated Code Is So Bad It Exposes That We Have No Refactoring Tools for It — ryunuck · 2026-12-02
- IDE Wars: Is JetBrains Doomed, or More Important Than Ever in the Vibe Coding Era — ryunuck · 2026-12-02