RL-trained LoRA cuts Inkling 2 Mini's output tokens ~40% and solves tasks 1.5x faster
HauntingMoment · reddit · 2026-12-01
A developer trained a LoRA adapter for Inkling 2 Mini with RL (TRL AsyncGRPO + OpenEnv) inside the pi coding agent at default high reasoning effort. It's an efficiency adapter, not a smarter model: similar solvability, but fewer steps and far less output — and locally, every generated token is wall-clock time.
Per solved task (tasks both models solve): Terminal-Bench 2.1 tool calls −22%, output tokens −38%; SWE-bench Pro hard 51: −33% / −40%.
Accuracy (paired 95% CI): TB 2.1 at 1 h budget: 44.2 → 56.9 avg@3 (+12.7 ± 6.4), pass@3 56.2 → 70.8. With 4 h the gap shrinks to noise (+3.0 ± 4.7) — the gain is speed under a time limit. 256k-context and SWE-bench Pro hard 51 roughly equal. TB 4.1 10% for both, still out of reach at this size. Median time-to-solve drops from 12 to 8 minutes.
Run locally (llama.cpp): merged 28 GB Q80 GGUF, or the 27 MB LoRA on your own base GGUF, plus the pi-llama plugin. Keep default reasoning effort.
Caveats: all scores from vLLM; GGUFs not re-evaluated in llama.cpp; base absolute scores differ from the official card (different setup — compare internally only); the adapter says "done" more often on unsolved tasks.
Adapter, GGUF, training data (UltraTerminals) and recipe are all open.
More from coding & agent
- Model routing lessons: classify by capability, not domain — 46% cheaper with 3.7pp fewer passes — shensi · 2026-12-01
- Open-source hermes-pulse turns a local agent into a $0 social listening radar using ~25MB RAM — alexcovo_eth · 2026-12-01
- API vs MCP: should platform providers bother building an MCP at all? — meatyfingers · 2026-12-01
- Advent of AI Slop 2026: 24 days of one-off vibe-coded web toys — pmigdal · 2026-12-01
- Docker's open-source docker-agent defines your whole AI agent in one YAML file — KhuyenTran16 · 2026-12-01
- LangChain launches LangSmith Agent Platform with unified agent record across lifecycle — LangChain · 2026-12-01