Affine 4-bit MLX export of the Qwen3.5 4B Base model fine-tuned with the Indonesian legal-domain PEFT LoRA adapter. Quantization uses 4 bits and group size 64.
pip install mlx mlx-lm
mlx_lm.generate \
--model morpknight/qwen3.5-4b-indonesian-legal-mlx-4bit \
--prompt "Apa tujuan Undang-Undang Perlindungan Data Pribadi di Indonesia?" \
--max-tokens 256 \
--temp 0 \
--extra-eos-token '<|im_end|>' \
--chat-template-config '{"enable_thinking": false}' \
--verbose False
The model is intended for Indonesian legal-domain assistance. It is not a substitute for review by a qualified legal professional, and answers should be checked against current official sources. Re-evaluate the quantized model on the full legal benchmark before production use.
The PEFT LoRA adapter was merged into the base model in BF16, converted to MLX,
and then quantized with mlx_lm.convert --quantize --q-bits 4 --q-group-size 64. The MLX Qwen3.5 implementation used here is text-only; the
vision tower is not included in this export.
See the project conversion manifest for provenance and validation details.
Qwen/Qwen3.5-4B-Base