This is an MLX conversion of HuggingFaceTB/SmolLM2-135M-Instruct quantized to 4-bit for fast on-device inference on Apple Silicon.
Install:
pip install -U mlx-lm
Run:
mlx_lm.generate \
--model Irfanuruchi/SmolLM2-135M-Instruct-MLX-4bit \
--prompt "Reply with exactly 3 bullet points, 4–8 words each: what can you do offline?" \
--max-tokens 80
Performance will vary across devices and prompts.
mlx_lm.convert.Upstream model: HuggingFaceTB/SmolLM2-135M-Instruct (Apache-2.0).
Please follow the upstream license and attribution requirements.