Run this model with HF Jobs

Run netprojects/Qwen3.8-27B-super-adapter-MLX-3bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/netprojects/Qwen3.8-27B-super-adapter-MLX-3bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/netprojects/Qwen3.8-27B-super-adapter-MLX-3bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/netprojects/Qwen3.8-27B-super-adapter-MLX-3bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

Newer build: Qwen3.8-27B-super-adapter-LayerFit-MLX-3bit is our newer build at this size, with the bits chosen per layer by LayerFit (same-size comparison on its card). This build stays online for existing setups.

Qwen3.8-27B-super-adapter for Apple Silicon (MLX, 3-bit)

harness-hub/Qwen3.8-27B-super-adapter (revision adb00e9) merged into Qwen/Qwen3.8-27B (revision 3756181) and converted to MLX with mlx-vlm, vision encoder and Qwen's MTP layer included. In this build most linear layers are quantized to 3-bit (affine, group 64); the token embedding, the output layer and the more sensitive v_proj / down_proj layers (the first and last eight layers and every third layer in between) are 4-bit, about 3.91 bits per weight overall. Size: 13.8 GB.

harness-hub's super-adapter is one LoRA behind three coding agents, pi, Hermes Agent and OpenCode. It merges their three reinforcement-learning specialists (pi and Hermes Agent at step 160, OpenCode at step 150) at weight ยฝ each, with no further training. Their published results, under each harness on SWE-bench Pro (hard 51) and Terminal-Bench 2.1:

  • Thinking on (recommended by harness-hub): mean pass@1 55.5% โ†’ 63.5% against the base model thinking at the same effort, ahead on five of six harnessโ€“benchmark pairs and level on the sixth, e.g. SWE-bench Pro 47.1% โ†’ 66.7% under OpenCode and 45.1% โ†’ 60.8% under Hermes Agent, with 19โ€“48% fewer tool calls per task.
  • Thinking off: ahead of the base model on all six pairs, mean 39.5% โ†’ 49.0%, with 53โ€“73% fewer tool calls per task.

See the original adapter card for the method and full results. If you use a single harness with thinking off, harness-hub recommends that harness's specialist; MLX builds of all three are on NetProjects: pi, Hermes Agent, OpenCode.

Build Size Same next token as bf16 KL vs bf16 GSM8K (50 questions) Peak memory, 8K-token prompt Suggested Mac memory
netprojects/Qwen3.8-27B-super-adapter-MLX-6bit (recommended) 23.1 GB 99.5% 0.0014 45/50 23.4 GB 36 GB+
netprojects/Qwen3.8-27B-super-adapter-MLX-8bit 30.0 GB 99.6% 0.0005 45/50 29.7 GB 48 GB+
netprojects/Qwen3.8-27B-super-adapter-MLX-4bit 16.3 GB 96.2% 0.0194 45/50 17.1 GB 32 GB+
netprojects/Qwen3.8-27B-super-adapter-MLX-3bit 13.8 GB 92.2% 0.0885 46/50 14.6 GB 24 GB+
netprojects/Qwen3.8-27B-super-adapter-MLX-2.5bit 11.8 GB 85.2% 0.2433 41/50 13.8 GB 24 GB+
bf16 reference (our local conversion, not published) 55.6 GB reference reference 45/50 53.4 GB 96 GB+

The 6-bit build is the recommended balance of size and fidelity; 8-bit is closest to bf16; 4-bit, 3-bit and the text-only 2.5-bit are for Macs with less memory (3-bit and 2.5-bit fit 24 GB Macs). The columns are explained under "What was checked".

Which build fits my Mac?

Each pick leaves room for macOS and a long prompt (the download is at most about 60% of your memory). Other models for your Mac: which build fits my Mac?.

Your Mac MLX (mlx-lm, mlx-vlm, LM Studio MLX) GGUF (llama.cpp, Ollama, LM Studio)
16 GB โšก stretch 2.5-bit (11.5 GB) IQ2_M (10.2 GB)
24 GB 3-bit (13.8 GB) (this build) Q3_K_M (13.5 GB)
32 GB 4-bit (16.5 GB) Q4_K_M (16.8 GB)
48 GB 6-bit (23.1 GB, recommended) Q6_K (22.4 GB)
64 GB and up 8-bit (30.0 GB) Q8_0 (29.0 GB)

โšก Stretch: close other apps, keep prompts to a few thousand tokens, and let the GPU use more memory with sudo sysctl iogpu.wired_limit_mb=12800 (lasts until restart).

Use with pi, Hermes Agent or OpenCode

harness-hub recommends thinking on, which is the chat template's default. Serve the model with mlx-lm's OpenAI-compatible server:

pip install -U "mlx-lm>=0.32.2"
mlx_lm.server --model netprojects/Qwen3.8-27B-super-adapter-MLX-3bit --port 8000

To turn thinking off, add --chat-template-args '{"enable_thinking": false}'. harness-hub evaluated thinking-on runs with up to 32,768 output tokens per model call, so allow long replies.

pi (Node.js 22.19 or newer): npm install -g --ignore-scripts @earendil-works/pi-coding-agent, then add the server to ~/.pi/agent/models.json:

{
  "providers": {
    "local": {
      "baseUrl": "http://localhost:8000/v1",
      "api": "openai-completions",
      "apiKey": "dummy",
      "models": [{ "id": "netprojects/Qwen3.8-27B-super-adapter-MLX-3bit" }]
    }
  }
}
pi --provider local --model netprojects/Qwen3.8-27B-super-adapter-MLX-3bit --print "Find out why the tests in tests/test_parser.py fail and fix the bug."

Hermes Agent: install it with curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash, then add the server to ~/.hermes/config.yaml (Hermes Agent needs at least 64,000 tokens of context):

model:
  default: netprojects/Qwen3.8-27B-super-adapter-MLX-3bit
  provider: custom
  base_url: http://localhost:8000/v1
  api_key: dummy

OpenCode: npm install -g @opencode/cli@2.2.7 (the version harness-hub evaluated), then add the server to ~/.config/opencode/opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "local": {
      "npm": "@ai-sdk/openai-compatible",
      "options": { "baseURL": "http://localhost:8000/v1", "apiKey": "dummy" },
      "models": { "netprojects/Qwen3.8-27B-super-adapter-MLX-3bit": {} }
    }
  }
}
opencode run --standalone --model "local/netprojects/Qwen3.8-27B-super-adapter-MLX-3bit" "Find out why the tests in tests/test_parser.py fail and fix the bug."

Use from Python

Text only, with mlx-lm:

from mlx_lm import load, generate

model, tokenizer = load("netprojects/Qwen3.8-27B-super-adapter-MLX-3bit")
messages = [{"role": "user", "content": "Write a Python function that parses '1.5M' into bytes."}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)   # thinking on (default)
print(generate(model, tokenizer, prompt=prompt, max_tokens=4096))

With images, with mlx-vlm:

pip install -U "mlx-vlm>=0.7.11"
mlx_vlm.generate --model netprojects/Qwen3.8-27B-super-adapter-MLX-3bit --image screenshot.png \
  --prompt "What error does this terminal show?" --max-tokens 300

The tokenizer and chat template are harness-hub's files, unchanged (same vocabulary and tool-call format as Qwen3.8-27B). Tool calls use Qwen's XML format (<tool_call><function=...><parameter=...>), which mlx-lm's server returns as OpenAI tool_calls.

Using the MTP layer

This build keeps Qwen3.8-27B's own multi-token-prediction (MTP) layer in model-mtp.safetensors, quantized to 8-bit and declared in config.json as mtplx_mtp_quantization. The adapter does not change that layer, so it is Qwen's original MTP head. mlx-vlm uses it as a built-in draft model when you pass the same repository as --draft-model:

mlx_vlm.generate --model netprojects/Qwen3.8-27B-super-adapter-MLX-3bit --draft-model netprojects/Qwen3.8-27B-super-adapter-MLX-3bit \
  --draft-kind mtp --temperature 0 --max-tokens 512 --prompt "Write a Python function that checks whether a number is prime."

Every drafted token is checked by the full model. With greedy decoding the text matches plain decoding until a near-tie, where the batched check can round the other way, so long answers can diverge slightly. On the 4-bit build, greedy decoding went from 33.1 to 65.1 tokens/s with the MTP head (ร—1.96; 5 short coding and writing prompts ร— 256 tokens, thinking off, MacBook Pro M5 Max with other work running, so treat it as indicative). The gain depends on the build and the text.

What was checked

On a MacBook Pro M5 Max (128 GB), 21 November 2026, with mlx 0.32.4, mlx-lm 0.32.2 and mlx-vlm 0.7.11.

  • Merge. All 256 adapted modules (q, k, v, o in the 16 full-attention layers; gate, up, down in all 64 layers) equal W + 2.0 ยท B @ A rounded to bf16, checked element by element against an independent computation; every other tensor (943, including 333 vision-encoder and 15 MTP tensors) is byte-identical to Qwen3.8-27B. On 24 sampled modules, PEFT 0.21.2's own merge_and_unload gives bit-identical weights; on the same modules the merged update equals ยฝ ยท (ฮ”W_pi + ฮ”W_hermes + ฮ”W_opencode) computed from the three specialist adapters at their pinned revisions (relative difference at most 1.8e-07).
  • Quantization. Each quantized build is checked to be exactly the affine (group 64) quantization of the bf16 build, with the bit widths described above.
  • Agreement with bf16 (12 short prompts, teacher-forced; 946 positions for 8/6/4-bit, thinking off; the 3-bit and 2.5-bit builds on a second set of 12 prompts, 9 with thinking off and 3 with thinking on): same next token as bf16 for 8-bit 99.6%, 6-bit 99.5%, 4-bit 96.2%, 3-bit 92.2%, 2.5-bit 85.2% of positions (mean KL 0.0005 / 0.0014 / 0.0194 / 0.0885 / 0.2433).
  • GSM8K, 50 fixed test questions (thinking off, greedy, 512-token cap): 8-bit 45/50, 6-bit 45/50, 4-bit 45/50, 3-bit 46/50, 2.5-bit 41/50, against 45/50 for the bf16 build.
  • Tool calling and coding (thinking off, the included chat template): one agent-style prompt with bash and read tools; 8-bit, 6-bit, 4-bit, 3-bit, 2.5-bit each produced a well-formed bash tool call in Qwen's XML format. Three short Python tasks run against asserts: 8-bit 3/3, 6-bit 3/3, 4-bit 3/3, 3-bit 3/3, 2.5-bit 2/3.
  • Thinking on (the template's default; reasoning effort low to keep it short): two short reasoning questions, each answered correctly after one closed </think> block with no looping: 8-bit 2/2, 6-bit 2/2, 4-bit 2/2, 3-bit 2/2, 2.5-bit 2/2.
  • Vision (mlx-vlm): asked to name the shapes and colours in a test image, 8-bit, 6-bit, 4-bit, 3-bit answered correctly, and answered a text-only question in the same session. The 2.5-bit build is text-only.
  • Memory. Peak memory is measured with an 8K-token prompt (mlx-lm, text). The suggested Mac memory is the smallest size whose default GPU memory limit (about two thirds of RAM up to 36 GB) holds that peak. On a Mac just below it you can raise the limit until the next restart (sudo sysctl iogpu.wired_limit_mb=...), leaving several GB for macOS, and use short contexts.
  • MTP layer. The bundled MTP tensors equal Qwen3.8-27B's mtp.* weights (norms in mlx-vlm's stored form), quantized like the rest of the build; the 4-bit and 3-bit and 2.5-bit builds were loaded in mlx-lm and mlx-vlm with the extra file present and decoded with their bundled MTP head.
  • Source files. Every file of both pinned upstream revisions matches the Hub's SHA-256 hashes.

Credits

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

License

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

More MLX builds from NetProjects: huggingface.co/netprojects ยท netprojects.com

Downloads last month
113
Safetensors
Model size
28B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

3-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for netprojects/Qwen3.8-27B-super-adapter-MLX-3bit

Base model

Qwen/Qwen3.8-27B
Quantized
(11)
this model