Views
No views yet
jina-embeddings-v5-text-nano-clustering for efficient inference on Apple Silicon. For the full-size model, see jina-embeddings-v5-text-small-clustering-mlx.| Feature | Value |
|---|---|
| Parameters | 239M |
| Supported Task | clustering |
| Max Sequence Length | 8192 |
| Embedding Dimension | 768 |
| Pooling Strategy | Last-token pooling |
| Base Model | EuroBERT/EuroBERT-210m |
| Format | MLX float16 safetensors |
pip install mlx tokenizers1git clone https://huggingface.co/jinaai/jina-embeddings-v5-text-nano-clustering-mlx
2cd jina-embeddings-v5-text-nano-clustering-mlx1import mlx.core as mx
2from tokenizers import Tokenizer
3from model import JinaEmbeddingModel
4import json
5
6with open("config.json") as f:
7 config = json.load(f)
8
9model = JinaEmbeddingModel(config)
10weights = mx.load("model.safetensors")
11model.load_weights(list(weights.items()))
12
13tokenizer = Tokenizer.from_file("tokenizer.json")
14
15texts = [
16 "We propose a novel neural network architecture for image segmentation.",
17 "This paper analyzes the effects of monetary policy on inflation.",
18 "Our method achieves state-of-the-art results on object detection benchmarks.",
19 "We study the relationship between interest rates and housing prices.",
20]
21embeddings = model.encode(texts, tokenizer, task_type="clustering")jina-embeddings-v5-text-nano useful in your research, please cite the following paper:1@article{akram2026jina,
2 title={jina-embeddings-v5-text: Task-Targeted Embedding Distillation},
3 author={Mohammad Kalim Akram and Saba Sturua and Nastia Havriushenko and Quentin Herreros and Michael G{\"u}nther and Maximilian Werk and Han Xiao},
4 journal={arXiv preprint arXiv:2602.15547},
5 year={2026}
6}