Hot AI News

A 27B coding model gains 15.7 points on SWE-bench Pro from a small LoRA add-on

The harness-hub group released an Apache 2.0 LoRA adapter that lifts Qwen3.8-27B from 35.3% to 51.0% on a 51-task SWE-bench Pro subset, by its own count.

A 27B coding model gains 15.7 points on SWE-bench Pro from a small LoRA add-on
Image: Hugging Face (trending)

The harness-hub group has published Qwen3.8-27B-opencode-adapted on Hugging Face, an Apache 2.0 LoRA adapter that, according to its model card, lifts the base model from 35.3% to 51.0% on a 51-task SWE-bench Pro subset.

A LoRA adapter trained inside the agent’s own harness

The release is not a new standalone model. The card describes a LoRA adapter for Qwen/Qwen3.8-27B, “trained with reinforcement learning to work as the model behind the OpenCode coding agent”. The target is software-engineering and terminal tasks. The merged checkpoint comes to about 54 GB in BF16, and the card gives instructions for merging the adapter into a standalone model. The adapter file size is not stated.

SWE-bench Pro, 51 hard tasks
Image: Hugging Face, chart by Aiholics

Training used AsyncGRPO from the TRL library, which the card labels experimental. The LoRA rank is 32 with alpha 64, applied to the attention and MLP projections. Each task got eight rollouts at temperature 0.8 with thinking switched off. The task mix was 750 scale800 tasks interleaved with 300 TermGrade tasks, run against OpenCode’s CLI on two NVIDIA B200 GPUs. The run was planned for 1,000 steps and stopped at step 154. The released checkpoint is step 150.

The license is Apache 2.0. The card does not list a context length as a model property. It shows serving examples with a 131,072-token limit for vLLM and 65,536 tokens for llama.cpp. A separate GGUF repository carries the adapter for llama.cpp users, and the card lists eight quantized repositories in the model tree. The card says the GGUF version “has not been re-evaluated”.

Example agent trajectory of the OpenCode-adapted model
Image: Hugging Face (trending)
Advertisements

The numbers: A clear gain, with wide error bars

The card’s headline table runs with thinking off unless noted. On SWE-bench Pro, using a 51-task hard subset, the base model scores 35.3% and the adapter 51.0%. On Terminal-Bench 2.1 the base scores 47.0% and the adapter 53.0%. With thinking switched on, the base model reaches 47.1% and 55.4% on the two tests, and the adapter 54.9% and 56.6%.

The authors frame the result this way: “With thinking off, this adapter matches the base model thinking at its highest reasoning effort (xhigh)”. They also advise: “Keep thinking off: turning it on for the adapter adds nothing significant.” The practical point is cost. Thinking mode generates many more tokens, so reaching a similar score without it would make agent runs cheaper.

Token usage of the OpenCode-adapted model
Image: Hugging Face (trending)

The paired statistics are less emphatic than the headline. On SWE-bench Pro the card reports a gain of 15.7 points, plus or minus 13.9, with 11 tasks newly solved and 3 lost, at p = 0.057. On Terminal-Bench 2.1 the gain is 6.0 points, plus or minus 10.7, with p = 0.38. On the 66 Terminal-Bench tasks that were not used to pick the checkpoint, the card reports 45.5% rising to 59.1%, at p = 0.035. The base Terminal-Bench figure differs between tables (47.0% against 46.4%) because they cover different task subsets.

The caveats are the authors’ own. The card says the checkpoint was chosen partly by looking at benchmark scores, and that its numbers are not comparable to the figures on Qwen’s own model card, which use other harnesses.

What to watch: Whether the gain survives outside the authors’ tests

The sibling release, Qwen3.8-27B-pi-adapted, shows how much the results depend on the setup. That adapter targets the pi coding agent. Its card reports SWE-bench Pro rising from 39.2% to 64.7% (p = 0.0023) and Terminal-Bench 2.1 from 41.0% to 55.8% on 86 tasks. It also lists corrections: earlier figures of 29.4% to 62.7% were revised after tunnel failures and a 16k token cap that was raised to 32k. Harness plumbing alone moved the scores by several points, so independent reruns matter more than the first table.

Three signals would settle the question. The first is reproduction by outside groups, ideally with a different task sample, since 51 tasks leave a margin of about 14 points. The second is a re-evaluation of the GGUF builds, because most local users will run quantized files. The third is whether other agent-specific adapters follow. Rivals are also tuning for tool use: Xiaomi’s MiMo-V2.6-Flash-MOPD targets repeated tool calls and is sold at a higher output price. A free adapter on a 27B open model offers a different trade-off.

Advertisements

Who can use it today, and what is missing

Anyone with the Qwen3.8-27B base weights can download the adapter and either load it through PEFT or merge it. The Apache 2.0 license permits commercial use. At about 54 GB in BF16 for the merged model, it needs a large GPU or a quantized build. The card lists 972 downloads in the past month and about 300 likes, so adoption is early.

Missing from the card: a publication date, the adapter’s own file size, the OpenCode version’s behavior on other tasks, and any test outside the authors’ harness. The training stopped at roughly 15% of the planned steps, and the card does not say whether longer runs would help or hurt. All results are self-reported and have not been independently verified.

Sign Up for the Daily AI Pulse

One email a day. All the stories that matter.

Alex CarterAI News & Big Tech Correspondent

Alex Carter writes for Aiholics, keeping readers updated on the fast-paced world of AI and Big Tech.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may also like