chrisyuan/Qwen3-Embedding-0.6B-mlx-bf16
1177
Qwen3-Embedding-0.6B-mlx-bf16
Qwen/Qwen3-Embedding-0.6B converted to MLX format, in the original bfloat16 precision (no quantization).
Usage
import mlx_embeddings
model, tokenizer = mlx_embeddings.load("chrisyuan/Qwen3-Embedding-0.6B-mlx-bf16")
outputs = mlx_embeddings.generate(model, tokenizer, ["What is the capital of China?"])
embeddings = outputs.text_embedsConversion
Converted with `mlx-embeddings`:
uv run python -m mlx_embeddings.convert \
--hf-path Qwen/Qwen3-Embedding-0.6B \
--mlx-path ./Qwen3-Embedding-0.6B-bf16 \
--dtype bfloat16Environment used:
mlx-embeddings==0.1.0mlx-vlm==0.6.3mlx-lm==0.31.3transformers==5.12.1(pinned to>=5.7.0,<5.13.0—transformers>=5.13.0currently breaksmlx-lm's tokenizer auto-registration on import, see ml-explore/mlx-lm#1458 / #1461)- Python 3.14
Verification
Embeddings were checked against the original PyTorch model (last-token pooling, L2-normalized) on a small set of test sentences. Cosine similarity between the two, per sentence, was consistently between 0.9998 and 0.9999, with the residual gap attributable to bfloat16 quantization noise rather than a conversion error. Relative similarity ordering across sentence pairs also matched the original model.
