LFM3-VL-2B-MLX-4bit

4-bit MLX version of LFM3-VL-2B for Apple Silicon. The weights take 1.59 GB.

Weights use 4-bit affine quantization with groups of 32. Token embeddings stay in 8-bit. The weights are trained with quantization-aware distillation (QAD), so they recover much of the 8-bit performance.

Find architecture and usage details in the original model card.

Use with MLX-VLM


Support for LFM3-VL in MLX-VLM is in progress. We will update this card when an MLX-VLM release supports it.

python -m mlx_vlm.generate --model LiquidAI/LFM3-VL-2B-MLX-4bit \
  --image <IMAGE PATH> --prompt "Describe this image." \
  --temperature 0.1 --top-p 1.0 --top-k 50 --min-p 0.0 --repetition-penalty 1.1 \
  --max-tokens 16384

More options in the MLX guide.

Downloads last month
9
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 LiquidAI/LFM3-VL-2B-MLX-4bit

Quantized
(12)
this model