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.

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.

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). These GGUF files have 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.

Run the merged Q8_0

Qwen3.8-27B-pi-Q8_0.gguf (28.6 GB) contains the pi adapter merged into the BF16 base before quantization. This command downloads and serves it with thinking off.

llama serve -hf harness-hub/Qwen3.8-27B-pi-adapted-GGUF:Q8_0 --chat-template-kwargs '{"enable_thinking": false}' -c 65536 --alias qwen3.8-pi

Run with the separate adapter

Qwen3.8-27B-pi-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

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 --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.

Point pi at the server

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. These files have 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.
Downloads last month
24,818
GGUF
Model size
0.2B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for harness-hub/Qwen3.8-27B-pi-adapted-GGUF

Base model

Qwen/Qwen3.8-27B
Adapter
(2)
this model

Collections including harness-hub/Qwen3.8-27B-pi-adapted-GGUF