Run this model with HF Jobs

Run LiquidAI/LFM3-1.7B-MLX-4bit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/LiquidAI/LFM3-1.7B-MLX-4bit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/LiquidAI/LFM3-1.7B-MLX-4bit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Evaluate on a benchmark

Use HF Jobs to evaluate https://huggingface.co/LiquidAI/LFM3-1.7B-MLX-4bit. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.

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-VLM


Requires MLX-VLM 0.7.11 or later:

pip install -U "mlx-vlm>=0.7.11"
python -m mlx_vlm.generate --model LiquidAI/LFM3-1.7B-MLX-4bit \
  --prompt "What is the capital of Australia?" --enable-thinking \
  --temperature 0.1 --top-k 50 --repetition-penalty 1.1 --max-tokens 16384

Reasoning stays off unless you pass --enable-thinking. For math and science, use --temperature 1.0 --top-p 0.95 --top-k 20 --repetition-penalty 1.0 instead. No mlx-lm release loads LFM3 yet; support is in review in ml-explore/mlx-lm#2016. More options in the MLX guide.

Downloads last month
11,034
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
(191)
this model