Qwen3.8-27B · think · pi (LoRA, GGUF)
[Image blocked: No description]
The GGUF version of harness-hub/Qwen3.8-27B-think-pi-adapted,
a LoRA adapter trained with reinforcement learning inside pi with thinking on, on
Qwen/Qwen3.8-27B, for llama.cpp.
- SWE-bench Pro (hard 51): 76.5%, against 74.5% for the base model and for the pi adapter, both with thinking.
- Terminal-Bench 2.1: 57.1%, against 59.5% for the pi adapter and 60.7% for the base model, both with thinking:
on par within noise.
- About 40% fewer tokens: on the tasks all three solve, 26.7k output tokens per SWE-bench Pro task against 46.0k
for the pi adapter with thinking (−42%, mean), and 5.8k per Terminal-Bench 2.1 task against 9.3k (−38%, median).
[!Tip]
Thinking, with fewer and shorter reasoning blocks. Locally every generated token is time: this adapter keeps the
accuracy of thinking while spending about 40% fewer tokens on it.
[!Note]
These results come from the BF16 adapter served by vLLM, under the pi harness (one attempt per task, a 100-step
budget, thinking on at the default effort, up to 32k output tokens per model call, temperature 0.8). This GGUF file
has not been re-evaluated through llama.cpp, and a quantized base will move the results further.
The original adapter card describes the training and
the evaluation.
Run the merged Q8_0
Qwen3.8-27B-think-pi-Q8_0.gguf (about 28.6 GB) contains the adapter merged into the BF16 base before quantization.
This command downloads and serves it with thinking on.
Run with the separate adapter
Qwen3.8-27B-think-pi-adapted-lora-F16.gguf is the adapter only (about 319 MB). It runs on top of the base model's GGUF.
1. Download the base model and the adapter
The adapter was trained on the BF16 weights. The closer the base is to them, the closer you get to the trained behavior.
Q8_0 is a good default; Q4_K_M is smaller, but drifts further from what the adapter learned against.
2. Serve
Thinking on, as in training and evaluation. Thinking sessions are long: the evaluations ran with a 131,072-token
context and up to 32,768 output tokens per model call. A smaller context or cap cuts long sessions and long reasoning
short.
Point pi at the server
Conversion
The merged Q8_0 was built with llama.cpp at 374d90a9fc3b3122473e0879041cff2eeb3d568f: llama-export-lora merged the
adapter into ggml-org/Qwen3.8-27B-GGUF's Qwen3.8-27B-BF16.gguf (revision c186941), then llama-quantize converted
the merged BF16 file to Q8_0.
The separate adapter was converted from the PEFT adapter with llama.cpp's convert_lora_to_gguf.py, at F16:
Limitations
- Not re-evaluated in GGUF. The results on the original adapter card come from vLLM at BF16. This file has not been
evaluated through llama.cpp, and a quantized base will move the results further.
- Thinking on. The adapter was trained and evaluated with thinking on; with it off, it was not evaluated.