FRIDA-Embeddings-V2-2B
by ai-forever
One 2B model for text, code and page images, with a dense vector and token vectors from the same pass, MIT
ai-forever/FRIDA-Embeddings-V2-2BDeploy FRIDA-Embeddings-V2-2B
Single-tenantMixpeek has no managed extractor for this model. On a single-tenant deployment you upload the weights and a custom plugin serves them next to the rest of your pipeline.
Overview
FRIDA-Embeddings-V2-2B is Sber AI's embedding model for semantic retrieval, released November 27, 2026 under the MIT license and built on Qwen3.5-2B. It embeds text passages, whole documents, code and page images, in English and Russian. One forward pass gives a 2,048-dimension dense vector and a 128-dimension vector per token, so the same model serves cheap dense search, late-interaction (MaxSim) search, or dense retrieval with late-interaction reranking.
Architecture
A Qwen3.5-2B backbone (Gated DeltaNet plus full attention) with last-token pooling for the dense vector and a bias-free projection to 128 dimensions for the token vectors, both L2-normalized. It is trained with Matryoshka Representation Learning, so the dense vector truncates to 1,024 or 512 dimensions and the token vectors to 64 or 32 without retraining, and with k-means token pooling at document budgets of 32 to 512 vectors. The default context is 4,096 tokens and can be raised to 32,768.
Mixpeek SDK Integration
# FRIDA-Embeddings-V2-2B is not a managed Mixpeek extractor. Encode documents
# yourself (sentence-transformers[image]==6.3.0), index the dense vector, and keep
# the token vectors to rerank the shortlist.
import requests
from PIL import Image
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("ai-forever/FRIDA-Embeddings-V2-2B")
page = Image.open("reports/2026-q3/page_14.png").convert("RGB") # a rendered page
doc = model.encode_document([page], output_value=None)[0]
dense = doc["sentence_embedding"][:512] # Matryoshka: keep the first 512 dims
tokens = doc["multivector_embeddings"][doc["attention_mask"].bool()] # n x 128, for MaxSim
requests.post(
"https://api.mixpeek.com/v1/namespaces/ns_your_namespace/documents/upsert",
headers={"Authorization": "Bearer API_KEY"},
json={"collection_id": "col_pages",
"documents": [{"document_id": "2026-q3-page-14",
"vectors": {"page-embedding": (dense / dense.norm()).float().tolist()},
"payload": {"source_key": "reports/2026-q3.pdf", "page_number": 14}}]},
)Capabilities
- Text, code and page images in one index
- A dense vector and per-token vectors from one forward pass
- Matryoshka truncation of both vector types
- Token-vector budgets of 32 to 512 per document
- English and Russian
Use Cases on Mixpeek
Benchmarks
| Dataset | Metric | Score | Source |
|---|---|---|---|
| Five-benchmark mean (ruViDoRe, ViDoRe v3, text, document-level text, code) | nDCG@10 | 0.738 | Model card, multivector; dense 0.674; dense top 30 reranked with token vectors 0.729 |
| ViDoRe v3 (public) | nDCG@10 | 0.620 | Model card, multivector; dense 0.552 |
| ruViDoRe | nDCG@10 | 0.818 | Model card, multivector; dense 0.724 |
| Code, human-annotated (CosQA, CodeSearchNet) | nDCG@10 | 0.762 | Model card, dense; the highest dense score in its table |
Performance
On 290,613 short Russian passages, brute-force CPU search took 47.3 ms with dense vectors (1.11 GiB, nDCG@10 59.57), 3.79 s with all token vectors (9.01 GiB, 68.77), and 53.2 ms for dense top 30 reranked from token vectors on disk (68.16), all from the model card.
Common Pipeline Companions
A smaller page-image model that also emits single and multi-vectors
The other compact late-interaction model in its comparison
A larger dense multimodal embedder it edges on the five-benchmark mean
The widely deployed late-interaction model for page images
Frequently Asked Questions
What is FRIDA-Embeddings-V2-2B?
It is Sber AI's 2.2B-parameter embedding model, released November 27, 2026 under MIT and built on Qwen3.5-2B. It embeds text, code and page images in English and Russian, and each input gets a 2,048-dimension dense vector and a 128-dimension vector per token from the same forward pass.
Should I use the dense vector, the token vectors, or both?
Both, in two stages, for most collections. On the model card's five benchmarks the dense vector averages 0.674 nDCG@10 and all token vectors 0.738. Retrieving the top 30 with the dense vector and reranking them with the token vectors averages 0.729, and on 290,613 passages it took 53.2 ms against 3.79 s for a full token-vector scan.
How does it compare with larger embedding models?
With token vectors it averages 0.738 across the five benchmarks, behind only pplx-embed-v2-late-9b at 0.756 (8.4B parameters) in its table. Its dense vector averages 0.674, behind Nemotron-3.5-Embed-8B (0.722) and WeMM-Embedding-9B (0.693) and ahead of Qwen3-VL-Embedding-8B (0.668).
How small can the index get?
The dense vector truncates to 1,024 or 512 dimensions, a quarter of the full 2,048, and the token vectors to 64 or 32. Token vectors can also be capped per document: with dense top-30 retrieval, a budget of 128 token vectors per document averages 0.716 against 0.729 with all of them.
Does Mixpeek run FRIDA-Embeddings-V2-2B?
Not as a managed extractor. Encode documents with it yourself and upsert the vectors into a collection, as in the code on this page. For managed page-image retrieval, colqwen_extractor_v1 renders each PDF page, stores its patch vectors and scores queries by MaxSim.
Specification
Research Paper
FRIDA-Embeddings-V2-2B on Hugging Face
arxiv.orgBuild a pipeline with FRIDA-Embeddings-V2-2B
Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.
Run it on your own data, free