r/LovingOpenSourceAI • u/Future_AGI • 4h ago
Hugging Face RL-trained a LoRA inside the Pi coding agent, and Qwen3.8-27B went from 39.2% to 64.7% on the 51 hardest SWE-bench Pro tasks in under half the turns
Hugging Face released "harness adapters": LoRAs trained with RL to be the model behind one specific coding agent. The Pi one for Qwen3.8-27B is Apache-2.0 and ships as a 319 MB F16 GGUF for llama.cpp. Hermes and OpenCode got their own versions.
Their numbers, under Pi with thinking off:
- SWE-bench Pro (51 hardest tasks): 39.2% → 64.7%
- Terminal-Bench 2.1: 39.5% → 55.8%, and 39.7% → 55.9% on the 68 tasks they didn't use to pick the checkpoint
- Median turns on tasks both solved: 23 vs 59 on SWE-bench Pro, 8 vs 18 on Terminal-Bench
- On Terminal-Bench it matches the base model thinking at max effort (56.6% vs 54.2%, 83-task comparison) with about 4.5x fewer tokens
An Inkling 2 Mini adapter for Pi followed on Nov 30. Its card says 22 to 33% fewer tool calls on tasks both solve (it runs with reasoning on), and that it doesn't make the model more capable when time is unlimited.
Before you grab one: every number is under Pi, the GGUFs weren't re-evaluated through llama.cpp, and the card says Q4_K_M drifts further from what the adapter learned.
The part we keep coming back to is their own open question. With thinking off it writes about 160 tokens of text per turn against about 10 for the base, some of it reasoning-like. HF calls it reasoning leakage and says the results still hold at a fixed token budget. Did it learn Pi, or learn to think out loud anyway?
If you're testing it from your own Python agent on Ollama or vLLM, the open-source tracer we build logs every model call with its tool calls, tokens and timing, so turns per task are easy to count.
Has anyone loaded the Pi LoRA on their own repo? Did turns per task actually drop?
