SmolLM2-135M Instruct (MLX, 5-bit)

This is an MLX conversion of HuggingFaceTB/SmolLM2-135M-Instruct quantized to 5-bit for fast on-device inference on Apple Silicon.

Quickstart

Install:

pip install -U mlx-lm

Run:

mlx_lm.generate \
  --model Irfanuruchi/SmolLM2-135M-Instruct-MLX-5bit \
  --prompt "Reply with exactly 3 bullet points, 4–8 words each: what can you do offline?" \
  --max-tokens 80

Benchmarks (MacBook Pro M3 Pro)

  • Disk: 92 MB
  • Peak RAM: 0.122 GB

Performance will vary across devices and prompts.

Notes

  • Converted/quantized with mlx_lm.convert.
  • This repo contains MLX weights and tokenizer/config files.

License & attribution

Upstream model: HuggingFaceTB/SmolLM2-135M-Instruct (Apache-2.0).
Please follow the upstream license and attribution requirements.

Downloads last month
16
Safetensors
Model size
25.3M params
Tensor type
BF16
·
U32
·
MLX
Hardware compatibility
Log In to add your hardware

5-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Irfanuruchi/SmolLM2-135M-Instruct-MLX-5bit

Quantized
(95)
this model