Paris99's picture
Qwen3.8-27B-opencode-adapted MLX 3-bit: weights incl. MTP, card, Apache-2.0 LICENSE and NOTICE
b208b32 verified
Raw History Blame Contribute Delete
1.44 kB
Qwen3.8-27B-opencode-adapted, MLX conversion
This work is derived from:
- harness-hub/Qwen3.8-27B-opencode-adapted (revision b4171c0069685320026d76eac96ccf716ca7e476) by harness-hub, a LoRA adapter
released under the Apache License, Version 2.0, and
- Qwen/Qwen3.8-27B (revision 37561816e66b5b9153b1b64c10968c18c1e6f4a0) by the Qwen Team, Alibaba Cloud, released under
the Apache License, Version 2.0 (see LICENSE).
Changes made here: the LoRA adapter (rank 32, alpha 64, scale 2.0) was merged into the Qwen3.8-27B weights
(W + 2.0 * B @ A, computed in float32 and stored in bfloat16), the result was converted to MLX format with mlx-vlm
(vision encoder kept) and, in the quantised builds, the linear layers were quantised (affine, group size 64).
The adapter repository's tokenizer and chat template files are included unchanged. The MLX adapter build contains the
same LoRA weights, transposed to the mlx-lm layout, with no other change.
Conversion by NetProjects (Internet Projects Ltd), https://netprojects.com.
Not affiliated with Hugging Face, harness-hub or Alibaba Cloud (Qwen).
The 3-bit and 2.5-bit builds (19 November 2026) were quantized from the bf16 MLX build with per-layer bit widths (3-bit: 3-bit body, embedding, output layer and selected v_proj / down_proj layers 4-bit; 2.5-bit: text-only, MLP gate/up 2-bit, down 3-bit, attention and embedding/output 4-bit), with the MTP layer at 8-bit and 4-bit respectively.