/ Модель

Характеристики

Контекст
8 192 токена
Параметры
149 млн
Лицензия
MIT
Архитектура
modernbert · dense
Базовая модель
ModernBERT-base
Библиотека
sentence-transformers
Опубликована
13 авг 2026

NanoVDR-Q-ModernBERT-Qwen3VL8B-4096-ML

ЭмбеддингиТекст → embedding5 профессий

Текстовый энкодер NanoVDR строит 4096-мерные эмбеддинги запросов для визуального поиска по документам и рассчитан на совместную работу с документными башнями NanoVDR на базе Qwen3-VL-Embedding-8B.

24скачиваний за 30 дней1лайквеса обновлены13 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

NanoVDR-Q-ModernBERT-Qwen3VL8B-4096-ML — текстовый энкодер примерно на 152 млн параметров, разработанный командой NanoVDR как башня запросов для визуального поиска по документам. Модель преобразует запрос в L2-нормированный вектор размерности 4096, совместимый с эмбеддингами документов от NanoVDR-D-HiRes-Qwen3VL8B-4096, NanoVDR-D-Fast-Qwen3VL8B-4096 и учительской Qwen3-VL-Embedding-8B. По метаданным это дообученная ModernBERT-base; README описывает дистилляцию по косинусному сходству на кэшированных эмбеддингах учителя.

Модель предназначена для поиска релевантных страниц в документах по текстовому запросу, когда важнее качество выдачи, чем минимальная задержка. В README приведены результаты оценки на ViDoRe: в изоляции башни запросов средний NDCG@5 составляет 67,40 против 71,05 у учителя. Модель принимает обычный текст запроса без префикса-инструкции и выдаёт эмбеддинг; изображения она не принимает.

Обучающая смесь включает 711 тысяч английских запросов и 778 тысяч переводов на пять европейских языков с латинской письменностью. Эти языки в README не перечислены. Переносимость на китайский, японский, арабский и другие нелатинские письменности не проверялась. Контекст модели по метаданным — 8192 токена. README сообщает, что модель примерно в пять раз медленнее DistilBERT-башни по запросам, но выигрывает у неё 1,04 пункта среднего NDCG@5 в приведённом сравнении. Лицензия — MIT.

Сценарии применения

  • поиск страниц документов по текстовому запросу
  • ранжирование страниц для вопроса по визуально насыщенным документам
  • семантический поиск по документам в паре с совместимой башней NanoVDR
  • построение эмбеддингов запросов для поиска по индексу документов

Ограничения

Для изображений и запросов, обусловленных изображением, модель не предназначена; README ограничивает подтверждённое языковое покрытие английским и пятью европейскими языками с латинской письменностью, не называя их. Модель медленнее DistilBERT-башни, а приведённые результаты относятся к изолированной оценке запросов, не к полноценной системе с этой башней.

Для каких профессий подходит5

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

A 152M text-only encoder that maps a query into the embedding space of Qwen3-VL-Embedding-8B, distilled by pointwise cosine alignment against that teacher's cached query embeddings. The -ML suffix marks the multilingual training mixture: 711K English queries plus 778K MarianMT translations into five Latin-script European languages.

This is the strongest of the three query backbones we distilled, at 2.2x the parameters and 5x the latency of the DistilBERT tower that ships as the default. Take this one when retrieval quality matters more than query latency; take DistilBERT when you are serving many queries per second on CPU.

What it pairs with

A pair is valid when the teacher and the width both match. This tower targets Qwen3-VL-Embedding-8B at 4096-d, so it pairs with:

NanoVDR-D-HiRes-Qwen3VL8B-4096457M document tower, 6 tiles, best quality
NanoVDR-D-Fast-Qwen3VL8B-4096457M document tower, 2 tiles, 2.7x faster indexing
Qwen3-VL-Embedding-8B itselfthe teacher, if you index with it

The 2048-d query towers from the earlier NanoVDR release target a different teacher and width and do not pair with these document towers.

Usage

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("nanovdr/NanoVDR-Q-ModernBERT-Qwen3VL8B-4096-ML")
q = model.encode(["What was the revenue growth in Q3 2024?"])   # (1, 4096), L2-normalised

Retrieval is a dot product against page vectors from a matching document tower:

from transformers import AutoModel, AutoImageProcessor

doc = AutoModel.from_pretrained("nanovdr/NanoVDR-D-HiRes-Qwen3VL8B-4096", trust_remote_code=True).eval()
proc = AutoImageProcessor.from_pretrained("nanovdr/NanoVDR-D-HiRes-Qwen3VL8B-4096", trust_remote_code=True)
d = doc.encode(pages, proc, batch_size=4)

scores = q @ d.T

Do not add an instruction prefix

Pass the raw query. The teacher's targets were cached with an instruction, but the student was trained to reproduce those targets from the bare query text, and every number below was measured that way. Prepending an instruction at inference moves the input off the distribution the tower was fitted on.

Results

NDCG@5 on ViDoRe. Query side in isolation, scored against teacher-encoded pages, which isolates this tower from document-side error:

v1v2v3Avg
NanoVDR-Q-ModernBERT-Qwen3VL8B-4096-ML85.3665.4051.4367.40
Qwen3-VL-Embedding-8B (teacher)87.3169.7656.0771.05

94.9% of the teacher on the side this tower replaces.

Backbone comparison

All three distilled from the same teacher on the same data, measured under query-side isolation. Latency is one query at batch 1 on an H200, including tokenisation:

BackboneParamsv1v2v3AvgLatency
ModernBERT-base (this model)152M85.3665.4051.4367.4010.61 ms
DistilBERT-base70M84.6864.3050.0966.362.07 ms
BERT-base113M81.8158.5244.5561.634.78 ms

ModernBERT leads DistilBERT by 1.04 average points. Whether that is worth 5x the latency depends on your query volume; the published end-to-end system uses DistilBERT for that reason.

End-to-end numbers paired with the document towers are published for the DistilBERT tower (61.74 average with HiRes). That pairing has not been measured for this backbone, so the isolation numbers above are what this card claims.

Reproducibility

Re-encoding the 500 ViDoRe arxivqa queries with this package and scoring against the cached teacher page embeddings:

NDCG@5  teacher queries x teacher pages : 86.91
NDCG@5  student queries x teacher pages : 86.03   (99.0% retention)

The DistilBERT tower reaches 83.77 (96.4%) on the same check.

Training

Objective1 - cos(student, teacher), nothing else
TeacherQwen3-VL-Embedding-8B, frozen, 4096-d
Data1.49M queries (the NanoVDR training set plus MarianMT translations)
OptimizerAdamW, one-cycle, peak LR 5e-4, 3% warmup
Effective batch512
Epochs15

No relevance labels, no negative mining, no contrastive term. Teacher targets are cached once before training, so this tower was trained without the teacher ever running during training.

Limitations

  • English and five Latin-script European languages. The multilingual portion comes from a MarianMT translation pipeline. Non-Latin scripts such as Chinese, Japanese and Arabic are untested.
  • Text-only. Image-conditioned queries are out of scope.
  • Bounded by the teacher. Nothing in the objective lets the student exceed Qwen3-VL-Embedding-8B on the side it replaces.
  • Slower than the default. 5x the query latency of the DistilBERT tower for 1.04 average points.

Citation

@article{distilvdr2026,
  title   = {DistilVDR: A Compact End-to-End Visual Document Retriever
             via Dual-Student Distillation},
  author  = {Liu, Zhuchenyang and Wang, Ziyi and Zhang, Yao and Xiao, Yu},
  journal = {arXiv preprint arXiv:2608.10636},
  year    = {2026}
}

License

MIT.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · sentence-transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
ModernBertModel
Ревизия весов
f0e80ed

0 моделей