New LoRA Adapter Lifts Qwen3.8 Coding Success From 39% to 65%

In one sentence

Hugging Face released a Qwen3.8-27B LoRA adapter for the pi coding agent, boosting coding success rates and cutting token usage without thinking mode.

Key points

  • Hugging Face's harness-hub team released Qwen3.8-27B-pi-adapted, an Apache-2.0 licensed LoRA adapter tuned specifically for the pi coding agent.
  • Trained with AsyncGRPO reinforcement learning, the adapter boosts SWE-bench Pro success from 39.2% to 64.7% with thinking mode disabled.
  • It matches the accuracy of the base model's thinking mode while using about 4.5x fewer tokens and cutting median SWE-bench Pro turns from 59 to 23.
  • Developers can deploy it via vLLM, llama.cpp with GGUF, or weight merging, allowing one base model to host multiple harness-specific adapters.

In depth

An AI-written overview of the original article, not the article itself.

According to MarkTechPost, Hugging Face's harness-hub team has released Qwen3.8-27B-pi-adapted, a LoRA adapter trained with reinforcement learning for the pi coding agent. With thinking mode off, it boosts Qwen3.8-27B's success rate on SWE-bench Pro from 39.2% to 64.7%, matching thinking-level accuracy at about 4.5x fewer tokens.

Performance and Efficiency Gains

The article reports that with thinking off and one attempt per task inside pi, the adapter delivers strong pass@1 gains. On SWE-bench Pro (hard 51), success rises from 39.2% to 64.7%. On Terminal-Bench 2.1 (86 tasks), it climbs from 39.5% to 55.8%.

Session efficiency also improves significantly. On tasks solved by both models, median turns drop from 59 to 23 on SWE-bench Pro, and from 18 to 8 on Terminal-Bench 2.1. However, the article notes these results are self-reported on small evaluation sets and apply only to pi.

RL Training Mechanism

Built on the 27B dense hybrid Qwen3.8-27B, the Apache-2.0 adapter uses LoRA rank 32. The team trained it on 2x NVIDIA B200 GPUs using the AsyncGRPO algorithm from TRL directly inside the unmodified pi harness.

The reward function combines verifier correctness with a 0.1-weight tool-efficiency bonus. To prevent reward hacking, all tool calls pass through a rule-based proxy called safeagents, which blocks unauthorized actions like fetching benchmark answers and assigns a score of 0.

Deployment and Architecture

The model card outlines four deployment routes: serving via vLLM with LoRA enabled, loading a GGUF adapter on a Q8_0 base in llama.cpp, using Llama.app on macOS, or merging it with PEFT into a 54 GB BF16 checkpoint.

The article highlights that by keeping one open base model and swapping small harness-specific adapters, a single server can host adapters for both pi and OpenCode side by side.

Read originalOpens marktechpost.com

This summary was generated by AI from the original article and may contain errors; the original is authoritative. Copyright belongs to the original author.

Other coverage of this story

2 reports from 2 sources, in order of publication.

Recent stories from this source