Qwen3.8-27B · pi (LoRA, GGUF)
The GGUF version of harness-hub/Qwen3.8-27B-pi-adapted, a LoRA adapter trained with reinforcement learning inside pi, on Qwen/Qwen3.8-27B, for llama.cpp.
- SWE-bench Pro (hard 51): 39.2% → 64.7% (+25.5 points; 15 tasks newly solved, 2 lost).
- Terminal-Bench 2.1: 39.5% → 55.8% (+16.3 points; 16 newly solved, 2 lost).
- Thinking-level accuracy, without thinking: matches the base model at its highest reasoning effort, with about 4.5× fewer generated tokens.
- Less work per task: under half the turns of the base model on the tasks both solve.
[!Tip] Maximum-effort thinking accuracy, at a quarter of the tokens. With thinking off, the adapter matches the base model thinking at its highest reasoning effort (
xhigh), while generating about 4.5× fewer tokens per task. That matters most locally, where every generated token is time: keep thinking off.
[!Note] These scores come from the BF16 adapter served by vLLM, under the pi harness (one attempt per task, a 100-step budget, thinking off, temperature 0.8). This GGUF file has not been re-evaluated through llama.cpp, and a quantized base will move the results further. They are not comparable with the scores on the Qwen3.8-27B card, which uses other harnesses and thinking at maximum effort.
The original adapter card describes the training and the evaluation.
Qwen3.8-27B-pi-lora-F16.gguf is the adapter only (about 319 MB). It runs on top of the base model's GGUF.
Run
1. Download the base model and the adapter
hf download ggml-org/Qwen3.8-27B-GGUF Qwen3.8-27B-Q8_0.gguf --local-dir .
hf download harness-hub/Qwen3.8-27B-pi-adapted-GGUF Qwen3.8-27B-pi-lora-F16.gguf --local-dir .
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
llama serve -m Qwen3.8-27B-Q8_0.gguf --lora Qwen3.8-27B-pi-lora-F16.gguf \
--chat-template-kwargs '{"enable_thinking": false}' -c 65536 --port 8080 --alias qwen3.8-pi
Keep thinking off, as in training and evaluation: with it on, the adapter is no more accurate and generates about 4× more tokens.
3. Point pi at it
pi install git:github.com/huggingface/pi-llama
pi --model llama-cpp/qwen3.8-pi
Conversion
Converted from the PEFT adapter with llama.cpp's convert_lora_to_gguf.py, at F16:
python llama.cpp/convert_lora_to_gguf.py <adapter dir> --base <Qwen/Qwen3.8-27B config dir> --outtype f16
Limitations
- Not re-evaluated in GGUF. The scores 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 off. The adapter was trained without thinking; with thinking on it is no more accurate, at about 4× the tokens.