Qwen2.5-1.5B-Instruct-MLX-4bit

Plain affine 4-bit (group-size 32) MLX quantization of Qwen/Qwen2.5-1.5B-Instruct. This is the baseline sibling of the DWQ pack — for higher quality at the same size and bit-width, use the DWQ variant (perplexity 9.45 vs 9.86 here).

Variants

Variant Size Status
Qwen2.5-1.5B-Instruct-MLX-8bit 1.5 GB teacher
Qwen2.5-1.5B-Instruct-MLX-4bit 0.93 GB this repo — plain affine 4-bit (gs32)
Qwen2.5-1.5B-Instruct-MLX-4bit-DWQ 0.93 GB DWQ (recommended)

Reproduce

python -m mlx_lm convert --hf-path Qwen/Qwen2.5-1.5B-Instruct \
  --mlx-path Qwen2.5-1.5B-Instruct-MLX-4bit -q --q-bits 4 --q-group-size 32

Group-size 32 per docs/quantization-policy.md rule 1 (doubles tunable scale/bias params at low bit width).

Usage

pip install mlx-lm
python -m mlx_lm generate --model majentik/Qwen2.5-1.5B-Instruct-MLX-4bit \
  --prompt "The capital of France is"

License

Apache-2.0, inherited from the base model Qwen/Qwen2.5-1.5B-Instruct.

Downloads last month
14
Safetensors
Model size
2B params
Tensor type
U32
·
BF16
·
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 majentik/Qwen2.5-1.5B-Instruct-MLX-4bit

Quantized
(271)
this model

Collection including majentik/Qwen2.5-1.5B-Instruct-MLX-4bit