LFM3-1.7B-MLX-4bit

4-bit MLX version of LFM3-1.7B for Apple Silicon. The weights take 0.97 GB.

Weights use 4-bit affine quantization with groups of 64.

Find architecture and usage details in the original model card.

Use with mlx-lm


Support for LFM3 in mlx-lm is in progress. We will update this card when an mlx-lm release supports it.

mlx_lm.generate --model LiquidAI/LFM3-1.7B-MLX-4bit \
  --prompt "What is the capital of Australia?" \
  --temp 0.1 --top-k 50 --max-tokens 16384

The command line has no repetition penalty flag. In Python, pass make_logits_processors(repetition_penalty=1.1) to generate. For math and science, use --temp 1.0 --top-p 0.95 --top-k 20 instead. More options in the MLX guide.

Downloads last month
3
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-1.7B-MLX-4bit

Quantized
(13)
this model