Xylolabs

Qwen3.5-2B MLX 4-bit

Qwen/Qwen3.5-2B converted to MLX for mlx-lm. Text only, without the vision tower and the MTP block. Affine quantization, group size 64, scales and biases in float16. 4-bit: every linear weight and the token embedding (also the LM head), except mlp.down_proj in layers 0-2, 21-23 at 6-bit; self_attn.v_proj in layer 23 at 6-bit. Norms in float16. Other unquantized tensors in float16, except A_log in float32.

How to run

pip install mlx-lm==0.32.2

mlx_lm.generate --model Xylolabs/Qwen3.5-2B-MLX-4bit --prompt "What is the capital of Australia?"

Accuracy

KL and top-1 against BF16 on WikiText-2, chat and held-out text (40/20/20 chunks of 512).

Quant Size WikiText-2 KL top-1 Chat KL top-1 Held-out KL top-1 7-question answer check
MLX 4-bit 1.08 GB 0.097054 83.34% 0.130638 82.25% 0.136542 77.94% 5/7
MLX 8-bit 2.00 GB 0.000400 98.76% 0.000457 98.88% 0.000563 98.22% 5/7
BF16 3.78 GB 5/7
Mean KL divergence by file size Top-1 agreement by file size

License

Apache License 2.0. See LICENSE and NOTICE.

Updates

  • 2026-11-27: First release.
Downloads last month
9
Safetensors
Model size
2B params
Tensor type
U32
·
F16
·
F32
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for Xylolabs/Qwen3.5-2B-MLX-4bit

Finetuned
Qwen/Qwen3.5-2B
Quantized
(366)
this model

Collections including Xylolabs/Qwen3.5-2B-MLX-4bit