Views
No views yet
mlx_embeddings.convert), group_size=641from mlx_embeddings import load
2
3model, tokenizer = load("majentik/Qwen3-Embedding-0.6B-MLX-8bit")
4
5inputs = tokenizer(
6 ["What is the capital of France?", "Paris is the capital of France."],
7 padding=True, truncation=True, return_tensors="mlx"
8)
9outputs = model(inputs["input_ids"], attention_mask=inputs["attention_mask"])
10embeddings = outputs.text_embeds # already L2-normalised, shape [batch, dim]1import mlx.core as mx
2
3e = embeddings
4scores = (e[0] @ e[1:].T).tolist()
5print(scores)| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3-Embedding-0.6B |
| Architecture | Decoder-only (Qwen3ForCausalLM) with last-token pooling |
| Parameters | 0.6B (596M) (pre-quantization) |
| Context Length | 32K |
| Embedding Dim | 1024 |
| BF16 Size | ~1.2 GB |
| License | apache-2.0 |
| Languages | 100+ (multilingual) |