Instructions to use ben0112/Qwen3-Embedding-4B-mlx-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use ben0112/Qwen3-Embedding-4B-mlx-bf16 with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download ben0112/Qwen3-Embedding-4B-mlx-bf16 --local-dir Qwen3-Embedding-4B-mlx-bf16
- sentence-transformers
How to use ben0112/Qwen3-Embedding-4B-mlx-bf16 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ben0112/Qwen3-Embedding-4B-mlx-bf16") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Qwen3-Embedding-4B โ MLX format, BF16 (non-quantized)
MLX-format re-serialization of Qwen/Qwen3-Embedding-4B at full BF16 precision
(no quantization). Produced so MLX-based servers can load it straight from the
Hugging Face cache.
- Source:
Qwen/Qwen3-Embedding-4B(BF16) - Tool:
mlx_embeddings.convert(hf_path=..., mlx_path=..., dtype="bfloat16")โ no-q - Weights: 398 tensors, all BF16,
__metadata__ = {"format": "mlx"} - Verified: embeddings are bit-identical to the PyTorch BF16 original (cosine 1.00000000 on 6 mixed zh/en queries)
- Downloads last month
- 40
Model size
4B params
Tensor type
BF16
ยท
Hardware compatibility
Log In to add your hardware
Quantized
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support