/ Модель

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

Контекст
512 токенов
Лицензия
MIT
Архитектура
distilbert · dense
Базовая модель
distilbert-base-uncased
Библиотека
sentence-transformers
Опубликована
11 авг 2026

NanoVDR-Q-DistilBERT-Qwen3VL8B-4096-ML

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

Компактный DistilBERT-энкодер кодирует текстовые запросы в 4096-мерные эмбеддинги для поиска по визуальным документам.

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

NanoVDR-Q-DistilBERT-Qwen3VL8B-4096-ML — 70-миллионный текстовый энкодер запросов, разработанный для поиска по визуальным документам. Это модель на основе DistilBERT, дообученная методом дистилляции: она учится воспроизводить 4096-мерные эмбеддинги запросов замороженной Qwen3-VL-Embedding-8B по косинусному сходству. Эмбеддинги нормализуются по L2-норме и совместимы с пространством эмбеддингов модели-учителя и документных башен NanoVDR.

Модель предназначена для кодирования текстовых запросов при поиске по индексированным документам. Её можно использовать вместе с документными энкодерами NanoVDR, чтобы строить конвейер поиска без запуска модели-учителя на этапе запроса; энкодирование занимает 2,07 мс на запрос при batch size 1 на H200, включая токенизацию. Контекст ограничен 512 токенами. Модель обучена на английских запросах и переводах на пять европейских языков с латинской письменностью.

Ограничения: поддержка ограничена английским и пятью указанными языками; языки с нелатинской письменностью не проверялись. Модель принимает только текстовые запросы и не предназначена для запросов, обусловленных изображениями; качество ограничено моделью-учителем. Лицензия — MIT.

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

  • кодирование текстового запроса для поиска по документам
  • поиск нужной информации в индексированных сканах и PDF
  • построение мультиязычного поиска по документам на латинских языках

Ограничения

Модель обучена на английском и пяти европейских языках с латинской письменностью; языки с нелатинской письменностью не проверялись. Она принимает только текстовые запросы, а качество ограничено уровнем модели-учителя.

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

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

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

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

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

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

Открыть на Hugging Face

A 70M 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.

Any half of the teacher, swapped

Both towers land in the same frozen teacher's embedding space, so either is a drop-in replacement for the corresponding half of that teacher. All four combinations retrieve; they differ in what you no longer have to run:

teacher documentsstudent documents
teacher queries71.05 — the ceiling, 8B on both sides65.02 — indexing 7x cheaper, teacher still runs per query
student queries66.36 — queries encode on one CPU thread, index built once by the teacher61.74 — no teacher anywhere

Average NDCG@5 over ViDoRe v1+v2+v3, this model paired with NanoVDR-D-HiRes-Qwen3VL8B-4096, against Qwen3-VL-Embedding-8B.

The document towers in this space:

NanoVDR-D-HiRes-Qwen3VL8B-4096457M, 6 tiles, best quality
NanoVDR-D-Fast-Qwen3VL8B-4096457M, 2 tiles, 2.7x faster indexing

Usage

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("nanovdr/NanoVDR-Q-DistilBERT-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-DistilBERT-Qwen3VL8B-4096-ML84.6864.3050.0966.36
Qwen3-VL-Embedding-8B (teacher)87.3169.7656.0771.05

End to end with the document towers, no teacher anywhere:

Pairingv1v2v3Avg
+ NanoVDR-D-HiRes-Qwen3VL8B-409682.8155.3447.0761.74
+ NanoVDR-D-Fast-Qwen3VL8B-409681.3454.9543.6659.98

Query encoding costs 2.07 ms per query at batch 1 on an H200, including tokenisation. There is no vision model in the query path.

Backbone ablation

Measured under query-side isolation, all distilled from the same teacher:

BackboneParamsv1v2v3AvgLatency
DistilBERT-base (this model)70M84.6864.3050.0966.362.07 ms
BERT-base113M81.8158.5244.5561.634.78 ms
ModernBERT-base152M85.3665.4051.4367.4010.61 ms

ModernBERT is 1.04 points better for 2.2x the parameters and 5.1x the latency, which is why the small one ships as the default.

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

Peak LR is half what the document tower uses; at 1e-3 a freshly initialised 768→4096 head diverges at the peak of the one-cycle schedule.

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 : 83.77   (96.4% retention)

which matches our internal evaluation for that dataset exactly.

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.

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…

Класс архитектуры
DistilBertModel
Ревизия весов
674ecf5

0 моделей