Open-sourced $6 tutorial trains Qwen3-1.7B to play Wordle with SFT then GRPO
SergioPaniego · x · 2026-11-30
A hands-on OpenEnv tutorial for getting started with RL-trained agents: Qwen3-1.7B goes from 0/30 Wordle wins to 10/30 after SFT warmup, then 20/30 after GRPO, with invalid guesses mostly eliminated. The whole pipeline runs on one GPU and costs about $6 on Hugging Face Jobs.
- Steps: generatesftdata.py (laptop CPU, 10s) → sft.py (1x A100 80GB, 7 min, $0.30) → grpo.py (GRPO)
- Evaluated greedily on 30 fixed words from TextArena; training is nondeterministic, so expect the ordering rather than exact numbers
- Caveat: the reported GRPO run used an earlier invalid-move penalty and a 6-round rollout cap; current grpo.py allows 12 tool rounds and counts terminal invalid moves, results not yet regenerated
- Watch the Wordle Arena Space, training curves on Trackio; scripts in examples/wordle, fully open
More from coding & agent
- Multiplayer Agents Are Everywhere on the TL, but Their UI Is Still Missing — marlene_zw · 2026-11-30
- ocr-decision-0.8b: Apache-2.0 model routes OCR pipelines at 22ms per page, zero tokens — vanstriendaniel · 2026-11-30
- Automated follow-ups become background noise; monthly human check-ins fix that — curious_vii · 2026-11-30
- Auto-Generating Evergreen Agent Benchmarks from Enterprise Migration Docs — burkov · 2026-11-30
- Dev audits his App Store listing with Claude Code over MCP, scores 77.8/100 in 9 seconds — Adex77 · 2026-11-30
- Benchmarking 22 Hermes MCP add-ons: Neon ships 119 tools, AWS Knowledge ready in 3 seconds — Teknium · 2026-11-30