Hugging Face · First MLX build 31 Oct 2024 · In Core AI since 29 Aug 2026
SmolLM2-135M-Instruct
MLXCore AI
Text apache-2.0
A 135M parameter text generation model from Hugging Face, with one MLX build and Apple Core AI export recipes for macOS and iOS.
- Parameters
- 135M From Hugging Face
- Quantisation
- Unstated SmolLM2-135M-Instruct
- Memory needed
- 3 GB Estimate, unified memory
- Download
- 269 MB Weights, estimated
- Downloads
- 4.0K This build, last 30 days
- Task
- Text generation Text
- MLX builds
- 1 On mlx-community
- Devices
- Mac Apple silicon
- Parameters
- 135M From Hugging Face
- Compression
- None Apple’s preset
- Memory needed
- — Parameter count not published
- Context
- 8K tokens Fixed at export
- Precision
- FP16 Compute precision
- Platforms
- macOS, iOS Mac and iPhone
- Export presets
- 2 In Apple’s registry
- Listed by Apple
- 29 Aug 2026 First registry commit
Memory
Will it fit?Needs about 3 GB at Unstated
8 GB
16 GB
24 GB
32 GB
64 GB
128 GB
Fits with headroomTight, close other appsWon’t fit
Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.
Run it
Terminal · mlx-lm$ pip install -U mlx-lm
$ mlx_lm.generate --model mlx-community/SmolLM2-135M-Instruct --prompt "Hello"
Memory
There is no memory estimate: the parameter count for this model is not published on Hugging Face.
Export it
Terminal · uv$ git clone https://github.com/apple/coreai-models
$ cd coreai-models
$ uv run coreai.llm.export smollm2-135m-instruct
$ uv run coreai.llm.export smollm2-135m-instruct --platform iOS
Apple publishes the recipe, not a ready-made package: these commands convert the original weights to a Core AI .aimodel on your Mac. See the repository for requirements.
MLX builds
1 on mlx-community| SmolLM2-135M-Instruct | Unstated | 269 MB | 3 GB | 4.0K |
|---|
Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.
Core AI export presets
From Apple’s registry| Preset | Platform | Compression | Precision | Context |
|---|---|---|---|---|
| smollm2-135m-instruct | macOS | None | FP16 | 8K |
| smollm2-135m-instruct | iOS | None | FP16 | 4K |