Fine-tuned Qwen2.5-1.5B into a text-free decision model, plays Snake at 26ms locally
Cod3Conjurer · reddit · 2026-11-30
Developer AnkitNayak fine-tuned Qwen2.5-1.5B-Instruct twice (decision head + model weights) on 700K examples to create QJev-1.5B—a model that doesn't generate text at all. Training took 20 hours on an RTX 5060 Laptop GPU (8GB VRAM).
Key idea: instead of generating tokens, QJev scores LEFT/RIGHT/UP/DOWN confidence and picks the best action in a single forward pass.
Pipeline: OpenCV handles game-state detection, feeding directly into QJev for real-time action selection—no heavy vision-language model.
Performance:
- Official JEV (cloud): 100-200ms
- QJev-1.5B (local RTX 5060 laptop): 26-30ms
It trades some decision accuracy for fast, lightweight local inference. Code and model are open-sourced on GitHub and Hugging Face with reproducible setup commands; Super Mario Bros is the next target.
More from coding & agent
- Pro tip: build a backup harness to debug your main agent harness — michellechen · 2026-12-01
- fofrAI shares his GEMINI.md: 10 high-level instructions to keep agents focused — fofrAI · 2026-12-01
- Research: Developers Manage Coding Agents in Three Styles — Supervisor, Delegator, Learner — rseroter · 2026-12-01
- 6-agent AI SDR revived stalled sales calls and collected $37,400 in one week — aryanXmahajan · 2026-12-01
- Passing tests ≠ the agent got it right: one screenshot makes the point — therealdanvega · 2026-12-01
- AI coding agent ignored explicit .env instruction and created its own key file — kylegawley · 2026-11-30