harness-hub/Qwen3.8-27B-hermes-adapted (revision 09fb741) merged into
Qwen/Qwen3.8-27B (revision 3756181) and converted to GGUF for llama.cpp:
ready-to-run files, no --lora needed. Every file keeps Qwen's multi-token-prediction (MTP) layer, so llama-server can
use it for faster decoding, and mmproj-Qwen3.8-27B-hermes-F16.gguf adds image input.
harness-hub trained this LoRA with reinforcement learning (AsyncGRPO in TRL, LoRA rank 32, alpha 64, checkpoint at step 160 of 1000 planned) to be the model behind Hermes Agent on software-engineering and terminal tasks. Their published results, under Hermes Agent with thinking off: SWE-bench Pro (hard 51) 29.4% → 43.1% and Terminal-Bench 2.1 44.7% → 58.8% against the base model, using under 40% of the base model's turns on the tasks both solve and about 2× fewer generated tokens. With thinking off it is level with the base model thinking at its highest effort (xhigh), at 3.5–4.4× fewer tokens. See the original adapter card for the method, data and full results.
| File | Size | Same next token as BF16 | Mean KL divergence |
|---|---|---|---|
| Qwen3.8-27B-hermes-Q6_K.gguf (recommended) | 22.4 GB | 98.9% | 0.0031 |
| Qwen3.8-27B-hermes-Q8_0.gguf | 29.0 GB | 99.7% | 0.0055 |
| Qwen3.8-27B-hermes-Q4_K_M.gguf | 16.8 GB | 94.8% | 0.0820 |
| Qwen3.8-27B-hermes-Q3_K_M.gguf | 13.8 GB | 92.9% | 0.0903 |
| Qwen3.8-27B-hermes-IQ3_XXS.gguf | 11.6 GB | 92.4% | 0.1383 |
| Qwen3.8-27B-hermes-IQ2_M.gguf | 10.5 GB | 89.8% | 0.1837 |
| mmproj-Qwen3.8-27B-hermes-F16.gguf | 0.9 GB | vision projector |
Q6_K is the recommended balance of size and fidelity; Q8_0 is closest to the BF16 weights; Q4_K_M and the smaller Q3_K_M, IQ3_XXS, IQ2_M files are for machines with less memory. For Apple Silicon there are also MLX builds.
The adapter was trained and evaluated with thinking off, so keep it off. Serve the model with llama-server:
hf download netprojects/Qwen3.8-27B-hermes-adapted-GGUF Qwen3.8-27B-hermes-Q6_K.gguf mmproj-Qwen3.8-27B-hermes-F16.gguf --local-dir .
llama-server -m Qwen3.8-27B-hermes-Q6_K.gguf -mm mmproj-Qwen3.8-27B-hermes-F16.gguf \
--jinja --chat-template-kwargs '{"enable_thinking": false}' \
--spec-type draft-mtp -c 65536 --port 8000 --alias qwen3.8-hermes
--spec-type draft-mtp turns on the built-in MTP layer; leave it out for plain decoding, and leave out -mm if you
do not need images. Install Hermes Agent:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
Add the server to ~/.hermes/config.yaml:
model:
default: qwen3.8-hermes
provider: custom
base_url: http://localhost:8000/v1
api_key: dummy
Hermes Agent needs at least 64,000 tokens of context. Then:
hermes chat -q "Find out why the tests in tests/test_parser.py fail and fix the bug."
Q8_0, Q6_K and Q4_K_M were quantized from the BF16 GGUF. Q3_K_M, IQ3_XXS and IQ2_M were quantized from our Q8_0 file with an importance matrix (llama-imatrix on the Q8_0, English prose and MIT-licensed Python code, 512-token chunks). The MTP layer is kept at Q8_0 in these three files, because the importance matrix does not cover it. Same next token and KL divergence are measured for every file against the BF16 GGUF, on the same 12 short prompts.
On a MacBook Pro M5 Max (128 GB), 19 November 2026.
W + 2.0 · B @ A rounded to bf16, checked element by element; every other tensor, including the MTP layer and
the vision encoder, is byte-identical to Qwen3.8-27B.bash and read tools produced a well-formed bash tool call, and a test image was described
correctly (red square, blue circle); three short Python tasks run against asserts: Q6_K 3/3, Q8_0 3/3, Q4_K_M 3/3, Q3_K_M 3/3, IQ3_XXS 3/3, IQ2_M 3/3.--spec-type draft-mtp, Q4_K_M and IQ3_XXS loaded and answered a short question correctly.Converted with llama.cpp's convert_hf_to_gguf.py at commit 8642541b2 and quantized with llama-quantize from Homebrew
llama.cpp (commit b1b770d90). The tokenizer and chat template are harness-hub's files, embedded unchanged.
The adapter is by harness-hub; the base model is Qwen3.8-27B by the Qwen Team, Alibaba Cloud. If you use the model, please cite their work (see the adapter card and the Qwen3.8-27B card).
Apache-2.0, as Qwen3.8-27B and the harness-hub adapter. LICENSE is the Apache-2.0 text from the Qwen3.8-27B repository
and NOTICE describes the conversion and credits harness-hub and the Qwen Team (Alibaba Cloud).
Published by NetProjects (Internet Projects Ltd). Not affiliated with Hugging Face, harness-hub or Alibaba.
More builds from NetProjects: huggingface.co/netprojects · netprojects.com
harness-hub/Qwen3.8-27B-hermes-adapted