Model reference · open weights
jina-embeddings is an open-weight embedding model from jinaai, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Quick Start Blog | Azure | AWS SageMaker | API Intended Usage & Model Info jina-embeddings-v3 is a multilingual multi-task text embedding model designed for a variety of NLP applications. Based on the Jina-XLM-RoBERTa architecture, this model supports Rotary Position Embeddings to handle long input sequences up to 8192 tokens. Additionally, it features 5 LoRA adapters to generate task-specific embeddings efficiently. Key Features: - Extended Sequence Length: Supports up to 8192 tokens with RoPE. - Task-Specific Embedding: Customize embeddings through the task argument with the following options: - retrieval.query: Used for query embeddings in asymmetric retrieval tasks - retrieval.passage: Used for passage embeddings in asymmetric retrieval tasks - separation: Used for embeddings in clustering and re-ranking applications - classification: Used for embeddings in classification tasks - text-matching: Used for embeddings in tasks that quantify similarity between two texts, such as STS or symmetric retrieval tasks - Matryoshka Embeddings: Supports flexible embedding sizes (32, 64, 128, 256, 512, 768, 1024), allowing for truncating embeddings to fit your application. Supported Languages: While the foundation model supports 100 languages, we've focused our tuning efforts on the following 30 languages: Arabic, Bengali, Chinese, Danish, Dutch, English, Finnish, French, Georgian, German, Greek, Hindi, Indonesian, Italian, Japanese, Korean, Latvian, Norwegian, Polish, Portuguese, Romanian, Russian, Slovak, Spanish, Swedish, Thai, Turkish, Ukrainian, Urdu, and Vietnamese. ⚠️ Important Notice: We fixed a bug in the encode function #60 where Matryoshka embedding truncation occurred after normalization, leading to non-normalized truncated embeddings. This issue has been resolved in the latest code revision. If you have encoded data using the previous version and wish to maintain consistency, please use the specific code revision when loading the model: AutoModel.frompretrained('jinaai/jina-embeddings-v3', coderevision='da863dd04a4e5dce6814c6625adfba87b83838aa', ...) Usage <details<summaryApply mean pooling when integrating the model.</summary Why Use Mean Pooling? Mean poolin
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | jinaai |
|---|---|
| Type | Embedding models |
| Parameters (lead) | 572M |
| Context | 8,194 tokens |
| Variants | 2 |
| Runs with | transformers |
| Released | 2024-09-05 |
| Popularity | 2.5M downloads / month |
| Likes | 1,152 |
| Licence | Commercial licence needed |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
Benchmarks
As published on the model card — the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| STS | MTEB AFQMC (default) | cosine_pearson | 41.742 |
| STS | MTEB AFQMC (default) | cosine_spearman | 43.473 |
| STS | MTEB AFQMC (default) | euclidean_pearson | 42.245 |
| STS | MTEB AFQMC (default) | euclidean_spearman | 43.525 |
| STS | MTEB AFQMC (default) | main_score | 43.473 |
| STS | MTEB AFQMC (default) | manhattan_pearson | 42.046 |
| STS | MTEB AFQMC (default) | manhattan_spearman | 43.309 |
| STS | MTEB AFQMC (default) | pearson | 41.742 |
| STS | MTEB AFQMC (default) | spearman | 43.473 |
| Retrieval | MTEB ArguAna-PL (default) | main_score | 50.118 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_1 | 24.253 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_10 | 40.725 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_100 | 41.7 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_1000 | 41.707 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_20 | 41.468 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_3 | 35.467 |
| Retrieval | MTEB ArguAna-PL (default) | map_at_5 | 38.291 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_1 | 24.751 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_10 | 40.911 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_100 | 41.885 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_1000 | 41.893 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_20 | 41.654 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_3 | 35.657 |
| Retrieval | MTEB ArguAna-PL (default) | mrr_at_5 | 38.466 |
Using it via the API
Once AxForge deploys jina-embeddings for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (jina-embeddings below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"jina-embeddings","input":"text to embed"}'
Licence
The weights are open but cc-by-nc-4.0 needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗
Explore