JinaVDRAirbnbSyntheticRetrieval
0,161
10 результатов: 0,161–0,5948
Направление метрики неизвестно, сравнение не строится
Составлено на русском по карточке модели и метаданным Hugging Face
Мультимодальная модель IBM, которая строит векторы для поиска страниц документов по текстовым запросам и ранжирования найденных страниц.
Granite Embedding Vision R2 — мультимодальная модель IBM для поиска страниц документов по текстовым запросам и совместного поиска по изображениям страниц и текстовым фрагментам. Она выдаёт векторы для быстрого приближённого поиска и многовекторные представления для последующего точного ранжирования. Модель содержит 748 млн параметров: визуальный энкодер SigLIP2 NaFlex, оконный Q-Former и 22-слойный текстовый энкодер ModernBERT на основе granite-embedding-311m-multilingual-r2. Изображения страниц обрабатываются с сохранением близкого к исходному соотношения сторон; многовекторный выход содержит до примерно 600 векторов на страницу.
Модель предназначена для визуального поиска по PDF-страницам и другим документам, в том числе в сценариях, где обычное извлечение текста затруднено или теряет структуру страницы. Поддерживает текстовые запросы на языках текстового энкодера, а визуальное выравнивание обучено на страницах на 22 языках, включая русский. Совместима с индексированием текста и изображений страниц в одном поисковом индексе. Распространяется под лицензией Apache 2.0.
Качество зависит от разборчивости сканов: мелкий шрифт, низкое разрешение и плотная вёрстка могут ухудшать поиск. Эффективность различается по языкам; при наличии версий документа на нескольких языках модель может предпочесть английскую версию, поэтому полезно фильтровать результаты по языку. Для коллекций только из текстовых фрагментов README рекомендует более компактную текстовую модель Granite Embedding Multilingual R2.
Низкое разрешение, мелкий шрифт и плотная вёрстка могут снижать качество поиска; результаты различаются по языкам, и среди параллельных версий документа может ранжироваться английская. Многовекторный индекс занимает заметно больше места, чем индекс из одного вектора.
Результаты из открытых лидербордов в сравнении с лидерами каталога на 5 декабря 2026
0,161
10 результатов: 0,161–0,5948
Направление метрики неизвестно, сравнение не строится
0,374
Один прогон
Направление метрики неизвестно, сравнение не строится
0,5424
Один прогон
Направление метрики неизвестно, сравнение не строится
0,97
Один прогон
Направление метрики неизвестно, сравнение не строится
0,7377
Один прогон
Направление метрики неизвестно, сравнение не строится
0,8532
Один прогон
Направление метрики неизвестно, сравнение не строится
Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь рядом с другими моделями теста
Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.
Напишите запросы, при необходимости приложите файлы и эталонные ответы.
Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.
README от автора на Hugging Face, как он его опубликовал
Model Summary: Granite-Embedding-748M-Vision-R2 is a 748M parameter multimodal embedding model from the Granite Embeddings collection for retrieving document pages directly from their images. Given a text query, it finds the relevant pages of reports, slide decks, scanned forms, financial statements or manuals without an OCR, layout-analysis or chunking pipeline, and it remains a capable text retriever. One checkpoint produces two kinds of embedding from a single forward pass: a 768-dimensional single vector per query or page for fast first-stage search, and 128-dimensional multi-vectors (one per token) scored with late interaction (MaxSim) for high-accuracy search and reranking. The language backbone is granite-embedding-311m-multilingual-r2, so queries can be written in many languages. All training data passed IBM's data clearance process, with technical, business and governance review.
Granite-Embedding-748M-Vision-R2 averages 0.721 nDCG over eight visual document retrieval benchmarks while encoding 35.3 page images per second on one NVIDIA H200. It stores 128 dimensions per token and about 600 vectors per page, for a multi-vector index of about 147 KiB per page.
Try it in a notebook: multi-vector, single-vector and hybrid search, queries in other languages, where each query word lands on the page, text and pages in one index, index compression, and encoding speed.
Intended Use: The model embeds text queries and document pages (as images or as text) so that relevant pages can be retrieved with MaxSim over the multi-vectors, with cosine similarity over the single vectors, or with single-vector search followed by multi-vector reranking.
Usage with Sentence Transformers:
The model is a sentence-transformers MultiVectorEncoder and needs sentence-transformers 6 or later and transformers 5.4.0 or later. Load it with MultiVectorEncoder, not SentenceTransformer, which would drop the multi-vector head.
pip install -U "sentence-transformers>=6" "transformers>=5.4.0" pillow
Multi-vector search (MaxSim). Each query and page becomes a variable-length sequence of 128-dimensional vectors (the images are available here ):
import torch
from sentence_transformers import MultiVectorEncoder
model = MultiVectorEncoder(
"ibm-granite/granite-embedding-748m-vision-r2",
trust_remote_code=True,
model_kwargs={"dtype": torch.bfloat16},
)
queries = [
"How much did revenue grow in the third quarter?", # English query
"Quel est le plafond pour l'hôtel ?", # French query
]
# Page images: file paths or PIL images
pages = ["quarterly_report_page_3.png", "travel_policy_page_1.png"]
query_embeddings = model.encode_query(queries)
page_embeddings = model.encode_document(pages)
print(query_embeddings[0].shape, page_embeddings[0].shape)
# (query tokens, 128) and (page tokens, 128): token counts vary with the query and the page size
# MaxSim scores, shape (num_queries, num_pages)
scores = model.similarity(query_embeddings, page_embeddings)
Single-vector search (cosine). Request the raw outputs and read the sentence_embedding of each input, the L2-normalized 768-dimensional [CLS] embedding:
query_features = model.encode_query(queries, output_value=None)
page_features = model.encode_document(pages, output_value=None)
query_vectors = torch.stack([f["sentence_embedding"] for f in query_features]).float()
page_vectors = torch.stack([f["sentence_embedding"] for f in page_features]).float()
scores = query_vectors @ page_vectors.T # cosine similarity, vectors are normalized
Each output also contains token_embeddings, so a single call to encode_document(..., output_value=None) gives both the single vector to put in an approximate-nearest-neighbor index and the multi-vectors to store for reranking.
Text documents. Text passages are encoded the same way:
text_embeddings = model.encode_document([
"Revenue grew 17% in Q3, to $5.6M.",
"Hotel stays are capped at $250 per night.",
])
scores = model.similarity(query_embeddings, text_embeddings)
A single encode_document call must contain one modality: encode page images and text passages in separate calls.
We evaluate both heads on eight visual document retrieval benchmarks using nDCG@10 on ViDoRe v3 and nDCG@5 on the others. The number of tasks is in parentheses.
| Model | Parameters | Dims / token | ViDoRe v1 (10) | ViDoRe v2 (4) | ViDoRe v3 (8) | Real-MM-RAG (4) | JinaVDR (43) | M3DR (23) | VisRAG (6) | VisDocOOD (4) | Avg. |
|---|---|---|---|---|---|---|---|---|---|---|---|
| granite-embedding-748m-vision-r2, multi-vector | 748M | 128 | 0.864 | 0.629 | 0.561 | 0.859 | 0.747 | 0.548 | 0.857 | 0.704 | 0.721 |
| granite-embedding-748m-vision-r2, single vector | 748M | 768 (single) | 0.745 | 0.542 | 0.443 | 0.648 | 0.635 | 0.422 | 0.738 | 0.638 | 0.601 |
| granite-embedding-748m-vision-r2, single vector, 384-d | 748M | 384 (single) | 0.742 | 0.537 | 0.438 | 0.643 | 0.631 | 0.419 | 0.729 | 0.636 | 0.597 |
The multi-vector head keeps 94% of the quality of its 4B teacher (0.769). Truncated to its first 384 dimensions, the single vector loses 0.004 for half the storage.
Page images encoded per second on one NVIDIA H200 in bf16, over the 14 tasks of ViDoRe v1 and v2. Both heads come from the same forward pass, so they encode at the same speed.
| Head | Pages/s | ViDoRe v1–v3 | Avg. (8) |
|---|---|---|---|
| Multi-vector (MaxSim) | 35.3 | 0.684 | 0.721 |
| Single vector (cosine) | 35.3 | 0.577 | 0.601 |
This throughput is with the model's default image processor, which preprocesses pages on the GPU, and FlashAttention-2, which the model uses when it is installed. At this rate one GPU encodes a million pages in about eight hours.
nDCG@10 averaged over the retrieval tasks of MTEB(eng, v2) and MTEB(Multilingual, v2), number of tasks in parentheses. These are retrieval-only scores, not the overall MTEB averages. The granite-embedding-311m-multilingual-r2 scores are from the MTEB leaderboard.
| Model | MTEB Retrieval, English (10) | MTEB Retrieval, Multilingual (18) |
|---|---|---|
| granite-embedding-748m-vision-r2, multi-vector | 0.509 | 0.656 |
| granite-embedding-748m-vision-r2, single vector | 0.478 | 0.629 |
| granite-embedding-748m-vision-r2, single vector, 384-d | 0.477 | 0.628 |
| granite-embedding-311m-multilingual-r2 (text only) | 0.526 | 0.652 |
This model is built for page images; it keeps text retrieval so that text passages and pages can share one index. On the MTEB retrieval tasks, its multi-vector head is slightly ahead of granite-embedding-311m-multilingual-r2 on multilingual text (0.656 against 0.652) and trails it on English (0.509 against 0.526). For text-only collections, the 311m model gives about the same accuracy with well under half the parameters and one vector per passage. The single vector can also be truncated to 384 dimensions, halving its size, at a cost of 0.001 on each (0.477 and 0.628). Single vectors from this model are also compatible with granite-embedding-311m-multilingual-r2 on text, as long as queries are encoded with this model: in our tests on all 25 MTEB retrieval tasks of the English and multilingual suites, its queries searched a granite-embedding-311m-multilingual-r2 text index at least as well as its own, so an existing granite-embedding-311m-multilingual-r2 index can stay as it is when you add pages. The other direction, granite-embedding-311m-multilingual-r2 queries against this model's index, also works on most tasks but loses up to 0.05 on a few, so encode queries with this model.
Both outputs can be shrunk at index time without retraining. The single vector can be truncated (Matryoshka), measured on the eight visual document retrieval benchmarks and on MTEB retrieval:
| Single vector | Storage per page (fp16) | At 1M pages | Visual avg. (8) | MTEB Retrieval, English (10) | MTEB Retrieval, Multilingual (18) |
|---|---|---|---|---|---|
| 768-d (default) | 1.5 KiB | 1.4 GiB | 0.601 | 0.478 | 0.629 |
| 384-d (Matryoshka) | 0.75 KiB | 0.7 GiB | 0.597 | 0.477 | 0.628 |
The multi-vectors can be token-pooled and stored in int8, measured with exhaustive MaxSim on ViDoRe v1 and v2 (nDCG@5):
| Multi-vector | Storage per page | At 1M pages | Avg. | Retained |
|---|---|---|---|---|
| Unpooled (about 600 vectors), fp16 | 147 KiB | 140 GiB | 0.746 | — |
| Pooled to 256 vectors | 64 KiB | 61 GiB | 0.743 | 99.6% |
| Pooled to 128 vectors | 32 KiB | 31 GiB | 0.737 | 98.8% |
| Pooled to 32 vectors | 8.3 KiB | 7.9 GiB | 0.717 | 96.1% |
| 128 vectors, int8 | 16 KiB | 15 GiB | 0.737 | 98.8% |
| 32 vectors, int8 | 4.1 KiB | 3.9 GiB | 0.716 | 96.0% |
A page image is encoded by a SigLIP2 NaFlex vision tower, which splits it into 16×16 patches at close to its native aspect ratio instead of resizing it to fixed tiles, and a one-layer window Q-Former connector compresses each 4×4 window of patches into learned queries, cutting the number of visual tokens by 4×, and maps them into the text encoder's 768-dimensional input space. The connector also adds a learned 2D position embedding and a newline embedding at the end of each row of patches, which help the text encoder recover the layout of the page. The ModernBERT text encoder from granite-embedding-311m-multilingual-r2 reads the visual and text tokens with bidirectional attention. Two heads read its final hidden states: the [CLS] token gives the single vector, and a linear projection of every token gives the multi-vectors.
| Feature | granite-embedding-748m-vision-r2 |
|---|---|
| Vision encoder | SigLIP2 so400m NaFlex, patch 16, 27 layers, width 1,152, 16 heads, no pooling head (417.1M) |
| Image input | Native aspect ratio, 576 to 2,880 patches of 16×16 px per page (about 0.15 to 0.74 megapixels) |
| Connector | 1-layer window Q-Former (BLIP-2 style, hidden size 1,152, 18 heads) over 4×4 patch windows, 4× fewer visual tokens, 2D position and row-newline embeddings, 1,152→768 output projection (19.4M) |
| Text encoder | granite-embedding-311m-multilingual-r2: 22 layers, hidden size 768 (110.3M) |
| Vocabulary | 262,152 tokens (201.4M) |
| Single-vector embedding | 768 dimensions, [CLS] pooling, cosine similarity; Matryoshka, truncatable to 128, 256, 384 or 512 |
| Multi-vector embedding | 128 dimensions per token (768→128 linear projection, no bias), MaxSim; 144 to 720 visual tokens per page, about 600 vectors in total; pooling-aware, poolable to 32–300 vectors |
| Max. sequence length | 2,048 tokens |
| # Parameters | 748.3M (1.50 GB in bf16) |
The model is trained in two stages and then merged with granite-embedding-311m-multilingual-r2:
See the technical report for more information on training.
| Distillation | Text warm-up | Multimodal |
|---|---|---|
| Steps | 10,000 | 258,159 |
| Learning rate | 2e-5 | 8e-5 |
| Warm-up ratio | 0.05 | 0.05 |
| Batch size (per GPU × GPUs) | 8 × 8 = 64 | 8 × 8 = 64 |
| Max. sequence length | 1,024 | 2,048 |
| Passages per query | 2 | 2 |
| Distillation temperature | 0.02 | 0.02 |
| Dataset sampling temperature | 2 | 2 |
| LoRA rank / alpha / dropout | 32 / 32 / 0.1 | 32 / 32 / 0.1 |
| Modality alignment | Step 1 | Step 2 | Step 3 |
|---|---|---|---|
| Steps | 5,500 | 2,500 | 2,500 |
| Max. patches per page | 2,880 | 5,760 | 2,880 |
| Image-view distillation | no | yes | yes |
| Learning rate | 1e-4 | 1e-4 | 5e-5 |
| Global batch size | 2,048 | 2,048 | 2,048 |
| DoRA rank / alpha | 32 / 32 | 32 / 32 | 32 / 32 |
Both stages use bf16. Alignment uses AdamW (β1 = 0.9, β2 = 0.999), weight decay 0.1, gradient clipping 1.0, a warmup–stable–decay schedule, an MLM masking probability of 0.5 and a maximum sequence length of 5,500 tokens.
All training data went through IBM's data clearance process, subject to technical, business, and governance review. This process captures critical information about the data, including its content description, ownership, intended use, data classification, licensing information, usage restrictions, how the data will be acquired, and an assessment of sensitive information (e.g., personal information).
The training data falls into six groups:
We trained granite-embedding-748m-vision-r2 on IBM's computing cluster, BlueVela, which is outfitted with NVIDIA H100 80GB and H200 GPUs. This cluster provides a scalable and efficient infrastructure for training our models over multiple GPUs. Speed numbers in this card were measured separately, on one NVIDIA H200.
The model retrieves pages from their visual appearance, so retrieval quality depends on legibility: low-resolution scans, very dense pages or very small print may be retrieved less reliably, since each page is read as at most 2,880 patches of 16×16 pixels. Performance varies across languages: languages represented in the visual training data generally retrieve better than languages the model handles only through the multilingual text encoder. When the same document exists in several languages, the model finds the right page but not always its version in the query's language. It does best for scripts used by a single language, such as Thai, Gurmukhi, Japanese and Chinese; Latin-script pages often lose to the English version of the same page, and for Indic languages the English version usually ranks first. If each page's language is known, filtering the results by the query's language avoids this: within one language, the right version ranks first 97% of the time. Synthetic training data, while effective for improving coverage, may introduce distributional biases not present in naturally occurring queries. The multi-vector index is much larger than a single-vector index: about 147 KiB per page against 1.5 KiB. For collections that contain only text, the Granite Embedding Multilingual R2 text models are the better choice: they are smaller, need one vector per passage, and are more accurate on English.
Granite Embedding Vision R2 is optimized for visual document retrieval. The model is not trained to mitigate demographic biases or harmful visual-text associations, particularly when the model is applied outside its intended domain.
This model is not intended for assessments of individuals. Users should evaluate retrieval behavior and potential representational harms in their specific application before deployment.
@misc{awasthy2026graniteembeddingvisionr2,
title={Granite Embedding Vision R2},
author={Parul Awasthy and Yahan Yang and Aashka Trivedi and Ken Barker and Yushu Yang and Martin Franz and Yulong Li and Bhavani Iyer and Todd Ward and Radu Florian},
year={2026},
eprint={2611.35217},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2611.35217},
}
На своей GPU в ailist. Цена — по текущим предложениям провайдеров
GPU в ailist
Универсальный рантайм · sentence-transformers
Подбираем GPU…