MLX Community · First MLX build 2 Apr 2025

all-MiniLM-L6-v2

MLX Text apache-2.0

A 23M parameter sentence similarity model, with 4 MLX builds, from 4-bit to bf16.

Hugging Face
Parameters
23M
From Hugging Face
Quantisation
4-bit
all-MiniLM-L6-v2-4bit
Memory needed
3 GB
Estimate, unified memory
Download
13 MB
Weights, estimated
Downloads
6.3K
This build, last 30 days
Task
Sentence similarity
Text
MLX builds
4
On mlx-community
Devices
Mac
Apple silicon

Memory

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 · Hugging Face CLI
$ pip install -U huggingface_hub
$ hf download mlx-community/all-MiniLM-L6-v2-4bit

MLX builds

4 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
all-MiniLM-L6-v2-4bit 4-bit 13 MB 3 GB 6.3K
all-MiniLM-L6-v2-6bit 6-bit 18 MB 3 GB 48
all-MiniLM-L6-v2-8bit 8-bit 24 MB 3 GB 74
all-MiniLM-L6-v2-bf16 bf16 45 MB 3 GB 184

Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.