/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Villanova2-2B-Base
Библиотека
transformers
Опубликована
5 ноя 2026

Villanova2-2B-VL

Изображение и текст → текст15 профессий

Компактная мультимодальная модель VillanovaAI для распознавания, извлечения и преобразования информации в документах на пяти европейских языках.

131скачиваний за 30 дней8лайковвеса обновлены15 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Villanova2-2B-VL — компактная мультимодальная модель VillanovaAI для чтения и обработки документов. Она дообучена на Villanova2-2B-Base и использует архитектуру Qwen3-VL: плотный языковой декодер примерно на 2,4 млрд параметров, визуальный энкодер ViT примерно на 306 млн параметров и проектор между ними. Модель принимает изображения и текстовые запросы, поддерживает динамическое разрешение и контекст до 32 768 токенов.

Модель предназначена для транскрибирования документов в текст или Markdown, извлечения ключей и сущностей, ответов на вопросы по документам, а также их суммаризации, классификации, обезличивания и перевода. Она ориентирована на английский, итальянский, немецкий, испанский и французский языки. Карточка отмечает сильные результаты на DocVQA и задачах понимания документов; для видео, многошагового визуального рассуждения и сложных задач уровня высшего образования модель подходит хуже. Для критически важных решений требуется проверка человеком.

Модель распространяется под лицензией Apache-2.0. Для запуска указана библиотека Transformers; также заявлена совместимость с vLLM без `trust_remote_code`.

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

  • преобразование сканов документов в текст или Markdown
  • извлечение ключей и именованных сущностей из деловых документов
  • ответы на вопросы по документам и их страницам
  • суммаризация и перевод документов
  • распознавание текста и анализ содержимого изображений

Ограничения

Модель не предназначена для понимания видео и слаба в многошаговом визуальном рассуждении и сложных задачах уровня высшего образования. Для решений с высокими последствиями необходима проверка человеком.

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

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

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

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

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

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

Открыть на Hugging Face

PropertyValue
Model typeVision-language model: Qwen3-VL architecture (Qwen3VLForConditionalGeneration)
Language modelVillanova2-2B-Base, 2.411B dense parameters, pre-trained from scratch on 4.7T tokens
Vision encoderQwen3-VL ViT, 0.306B parameters, initialized from Qwen3-VL-4B-Instruct
Total parameters2,826,553,344 (2.83B)
Inputs / outputText and images / text
Training4 stages · 12,552,155 examples · 7,360,035 unique images · 21.3B tokens
Opennessopen weight & data: model weights under Apache 2.0; training data documented source by source, each dataset under its own terms; vision encoder from Qwen3-VL-4B-Instruct (Apache 2.0)
LanguagesEnglish, Italian, German, Spanish, French
LicenseApache 2.0

Quick start

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

model_id = "VillanovaAI/Villanova2-2B-VL"

processor = AutoProcessor.from_pretrained(model_id)
model = AutoModelForImageTextToText.from_pretrained(
    model_id,
    dtype=torch.bfloat16,
    device_map="auto",
)

messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "path": "invoice.png"},
            {"type": "text", "text": "Estrai numero, data e totale della fattura in formato JSON."},
        ],
    }
]
inputs = processor.apply_chat_template(
    messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt"
).to(model.device)

output = model.generate(**inputs, max_new_tokens=1024, do_sample=False)
print(processor.decode(output[0, inputs["input_ids"].shape[1]:], skip_special_tokens=True))

With vLLM:

vllm serve VillanovaAI/Villanova2-2B-VL --max-model-len 32768 --limit-mm-per-prompt '{"image": 8}'

The tested stacks are transformers 4.57, 5.17, 5.19 and 5.20, and vLLM 0.32. All evaluations below use greedy decoding, the default of the shipped generation_config.json. When no system message is given, the chat template adds a default one ("You are Villanova, a helpful AI assistant built by Villanova.AI.").

The shipped processor encodes every image with 2,304 to 3,328 visual tokens (one token per 32 × 32 pixels after the 2 × 2 merge; smaller images are upscaled), and this is the setting used for all the numbers in this card. Lowering the minimum resolution makes long multi-page prompts cheaper, at some cost on dense pages.

Quantized version

Villanova2-2B-VL-GGUF holds the same weights quantized for llama.cpp, for edge inference; llama cli handles images natively and downloads the projector automatically:

llama cli -hf VillanovaAI/Villanova2-2B-VL-GGUF:Q8_0

Intended use

Good fitNot a good fit without extra work
Document transcription to text or Markdown, single and multi-pageSafety-critical or high-stakes decisions without human review
Key-value and named-entity extraction from business documentsMulti-step visual reasoning and college-level STEM questions (MMMU 30.7)
Page and document summarization and translation in EN · IT · DE · ES · FRVideo understanding
Question answering over pages, tables and chartsLanguages outside the five core ones, where quality is not guaranteed
Fine-tuning into domain-specific document assistantsScene-text reading in natural photos, where other 2B models are clearly stronger (TextVQA 57.5)

The family

Both vision-language models start from the matching Villanova2 base model and see the same multimodal training data in the same three main stages; the 2B adds a short high-resolution stage at the end.


Architecture

ComponentValue
Language modelVillanova2-2B-Base: Qwen3-style dense decoder, 22 layers, hidden 2,560, GQA 20 Q / 4 KV heads
Vision encoderQwen3-VL ViT: 24 layers, hidden 1,024, 16 heads, patch 16, native dynamic resolution
Projector2 × 2 spatial merge into the 2,560-dim LM space, plus DeepStack injection of ViT layers 5, 11 and 17 into the first LM layers
InitializationLM from Villanova2-2B-Base; vision encoder and projector from Qwen3-VL-4B-Instruct
Vocabulary130,822-token Villanova BPE tokenizer · 130,822 embedding rows, tied input/output
Positional encodingInterleaved multimodal RoPE (MRoPE) over text, height and width
Language model parameters2,411,205,632
Vision encoder parameters306,242,560
Projector parameters109,105,152
Total parameters2,826,553,344

The model uses only native transformers classes: no trust_remote_code, and the same checkpoint loads in transformers and vLLM.


Training

Four stages, one epoch each

StageWhat is trainedExamplesUnique imagesTokensLearning rate (LM / projector / ViT)
1 · AlignmentProjector only (LM and ViT frozen)1,046,387611,9691.70B— / 1 × 10⁻³ / —
1.5 · KnowledgeFull model3,194,3433,179,7286.61B1 × 10⁻⁵ / 1 × 10⁻⁵ / 2 × 10⁻⁶
2 · Instruction tuningFull model8,026,6414,896,95612.19B1 × 10⁻⁵ / 1 × 10⁻⁵ / 2 × 10⁻⁶
2.1 · High resolutionFull model284,784255,4880.78B1 × 10⁻⁵ / 1 × 10⁻⁵ / 2 × 10⁻⁶
Total12,552,1557,360,03521.28B

Token counts include the visual tokens. Stages 1.5 and 2 run at a minimum of 1,024 visual tokens per image; stage 2.1 revisits a subset of the instruction data at the release resolution (at least 2,304 visual tokens per image). Stages 1.5 to 2.1 pack examples into sequences of up to 16,384 tokens; the 240 examples longer than that (0.002%) are truncated to that length, and the 9 of them whose cut would fall inside an image are dropped. Unique images are counted across all stages: an image reused in a later stage counts once.


Data

[!IMPORTANT] We used synthetic data only from models released under a permissive licence. Where the origin of a dataset was explicit, we removed the proprietary parts, tracing provenance as carefully as we could; where the origin was doubtful, we did not use the data. This distinguishes Villanova2 from many open models, which are post-trained on popular datasets containing answers written by closed models.

Every source is cleared for commercial use. Sources marked (ML) were translated by us from English into Italian, German, Spanish and French; Villanova DU marks the document data we built from FinePDFs pages in the five languages. Where Villanova DU and CommonCanvas needed generated text (questions, answers, summaries, captions), it was produced with Qwen3.5-122B-A10B, self-hosted. Every training example whose image is byte-identical to a page of the MDU test set is removed.

Stage 1 · Alignment · 1.05M examples

Source familySourcesRole
CaptionsPixMo-Cap, brief and detailed (ML)Align the vision features with the language model

Stage 1.5 · Knowledge · 3.19M examples

Source familySourcesRole
CaptionsPixMo-Cap (ML), CommonCanvas captionsDense image descriptions
Document transcriptionVillanova DU: page to Markdown and to text, single and multi-pageRead long documents end to end
Encyclopedic pagesNemotron-VLM-Dataset-v2 wiki pages (10 languages)Rendered pages transcribed to Markdown
ChartsPlotQA (ML)Chart question answering

Stage 2 · Instruction tuning · 8.03M examples

Source familySourcesRole
General VQAVQAv2, GQA, A-OKVQA, VizWiz (from FineVision), PixMo-AskModelAnything (ML), PixMo-Cap-QA (ML), CommonCanvas VQA, Crossmodal-3600Natural-image questions and captions
Scene text and OCRTextVQA, DocVQA (from FineVision), TextCaps, SynthDoG-enReading text in images
DocumentsVillanova DU: QA, key-value and entity extraction, summarization, translation, classification, layout, anonymization, single and multi-page; Docmatix; FinQA (ML)Document understanding in the five languages
Tables, charts, formulasPubTabNet, SynthTabNet, SynthChartNet, SynthFormulaNet, CoSyn-400K (ML), FigureQA (ML), PlotQA (ML), Nemotron SparseTablesStructure recognition and chart QA
Science, math, reasoningAI2D, CLEVR and CLEVR-Math (ML), Nemotron-VLM-Dataset-v2 reasoning subsets (ChartQA, DocVQA, GeomVerse, Mulberry, PlotQA, Visual7W, VisualWebInstruct)Diagrams and step-by-step answers
GroundingNemotron-VLM-Dataset-v2 Open Images boxesObject localization
Encyclopedic pagesNemotron-VLM-Dataset-v2 wiki pages (10 languages)Long-page transcription
Text onlyThe Instruct set of the Villanova2-2B SFT mixture, including Multi-SFT (Baiamonte et al., 2026), 2.03M conversations in the five languagesKeep the language model's chat and reasoning skills

Stage 2.1 · High resolution · 285k examples

A subset of stage 2 drawn from 109 of its 138 sources, revisited at the release resolution so that the model is tuned on the image size it is served at.


Evaluation

Every model in the tables, ours and the external ones, goes through the same pipeline with greedy decoding. For the VLMEvalKit and multilingual tables: VLMEvalKit data, splits and metrics, up to 2,048 new tokens, the LLaVA-1.5 / lmms-eval answer-format instructions, and rule-based answer extraction (exact matching, no LLM judge). Scores are raw. Because the protocol is the same for every model, numbers can differ from those published in other model cards. Openness: weight = open weights only; weight & data = open weights plus documented training data. In the comparison tables, bold marks the best score in each column and underline the best among the open weight & data EU models.

The comparison covers the strongest open models of the same size class and every EU vision-language model that completed the same protocol. EuroVLM-9B is not reported: its run did not produce usable outputs.

General vision-language benchmarks (VLMEvalKit)

ModelOpennessOriginParamsAvgAI2DChartQADocVQAMMBenchMMMUMMStarMTVQAOCRBenchPOPERWQASEEDSQATextVQA
InternVL3.5-2Bweightnon-EU2.3B71.477.680.888.676.248.057.924.083.488.061.475.190.576.2
Qwen3.5-2Bweightnon-EU2.3B71.278.278.593.574.135.355.727.686.989.170.375.782.078.7
Ministral-3-3B-InstructweightEU3.8B64.274.566.690.466.537.346.826.771.978.458.768.377.970.3
Villanova2-2B-VLweight & dataEU2.8B60.665.165.785.064.230.743.915.065.686.363.770.575.157.5
Velvet2-3B-VisionweightEU4.3B58.068.754.966.466.234.041.17.958.888.257.866.576.367.8
SmolVLM2-2.2Bweight & datanon-EU2.3B55.469.326.260.766.237.343.99.960.183.155.770.687.649.2
gemma-4-E2Bweightnon-EU5.1B (2B eff.)49.833.142.773.750.37.328.321.472.381.952.865.857.860.0
TowerVision-2B ‡weight & dataEU3.0B48.238.520.453.058.027.335.916.757.688.359.567.251.952.3
EuroVLM-1.7Bweight & dataEU2.1B37.427.619.458.01.522.728.514.059.088.345.533.536.850.9

‡ TowerVision ends most short answers with a period, which exact matching counts as wrong; ChartQA and TextVQA are the most affected. It runs on transformers 4.57, the only stack that passes it the images.

Villanova2-2B-VL places 4th of 9, ahead of Velvet2-3B-Vision (+2.6), SmolVLM2-2.2B (+5.2), gemma-4-E2B (+10.8), TowerVision-2B (+12.4) and EuroVLM-1.7B (+23.2), and 3.6 points behind Ministral-3-3B, a third larger. Its strongest benchmarks are DocVQA (85.0, about 20 points above Velvet2-3B-Vision and SmolVLM2-2.2B), POPE (86.3) and RealWorldQA (63.7, second only to Qwen3.5-2B). Charts, OCRBench, scene text (TextVQA, MTVQA) and multi-step reasoning (MMMU, MMStar) are where InternVL3.5-2B and Qwen3.5-2B, 10–11 points ahead on the average, lead clearly.

Multilingual benchmarks

Seven VLMEvalKit benchmarks translated into German, Spanish, French and Italian, plus the English originals: 35 tasks. Each prompt, including the answer-format instruction, is in the language of the example. Columns are 5-language averages; MME is the perception + cognition score (0–2,800), rescaled to 0–100 in the overall average.

ModelOpennessOriginParamsAvgAI2DMMBenchMMEPOPERealWorldQAScienceQAVQAv2
Qwen3.5-2Bweightnon-EU2.3B73.070.581.4195985.062.078.064.2
InternVL3.5-2Bweightnon-EU2.3B71.569.881.5193586.051.682.260.3
Villanova2-2B-VLweight & dataEU2.8B68.061.175.8171983.054.374.366.3
Velvet2-3B-VisionweightEU4.3B67.263.574.5165587.249.372.064.5
Ministral-3-3B-InstructweightEU3.8B65.465.877.1171377.852.475.048.6
gemma-4-E2Bweightnon-EU5.1B (2B eff.)59.947.270.7173081.347.065.745.8
TowerVision-2B ‡weight & dataEU3.0B58.750.170.8130283.145.961.952.6
SmolVLM2-2.2Bweight & datanon-EU2.3B55.150.066.6114974.241.472.140.3
EuroVLM-1.7Bweight & dataEU2.1B43.025.532.194484.836.637.451.0

Per-language profile of Villanova2-2B-VL.

LanguageAvgAI2DMMBenchMMEPOPERealWorldQAScienceQAVQAv2
English69.863.776.8159383.459.375.773.1
Italian67.260.076.1171581.651.974.565.0
German66.859.675.4175482.053.373.461.5
Spanish67.861.074.9179884.749.375.265.5
French68.561.276.0173783.457.572.666.5

The five languages sit within 3.0 points of each other. English leads mainly on the open-ended VQAv2 answers (73.1, against 61.5–66.5 elsewhere) and on RealWorldQA; on the multiple-choice MMBench the five languages are within 1.9 points.

Document understanding (MDU)

MDU is our multilingual document-understanding benchmark: real-world PDF documents in the five languages, 18 task groups, each scored 0–100 with a reference-based metric (character-level similarity for transcription, micro-F1 on the extracted values for key-value and entity extraction, chrF / chrF++ for summaries and translations, numeric match with tolerance for table and figure questions, token recall for open questions, constraint satisfaction for conditional summaries; no LLM judge). Generation is greedy, with a 65,536-token context. The table groups the 18 task groups into five families; MDU-18 is their plain average.

ModelOpennessOriginParamsMDU-18Transcr.QAExtr.Summ.Transl.
Villanova2-2B-VLweight & dataEU2.8B58.567.253.848.160.458.1
Qwen3.5-2Bweightnon-EU2.3B54.763.460.728.255.240.5
Ministral-3-3B-InstructweightEU3.8B54.451.060.635.861.153.0
InternVL3.5-2Bweightnon-EU2.3B49.857.252.626.555.937.3
gemma-4-E2Bweightnon-EU5.1B (2B eff.)48.148.552.830.959.732.7
Velvet2-3B-VisionweightEU4.3B29.933.831.87.041.619.6
EuroVLM-1.7Bweight & dataEU2.1B27.215.140.26.643.914.1
SmolVLM2-2.2B †weight & datanon-EU2.3B22.716.431.211.734.56.0
TowerVision-2B †§weight & dataEU3.0B19.012.122.68.537.38.4

† The harness flags these runs as not comparable: too many answers were cut by the generation limit (27.6% for SmolVLM2-2.2B, 56.2% for TowerVision-2B).

§ TowerVision has an 8,192-token context: longer prompts are scored as empty answers, which puts Doc2Markdown, Doc2Text and Document Translation at 0.

Task groupVillanova2-2B-VLQwen3.5-2BMinistral-3-3B-InstructInternVL3.5-2Bgemma-4-E2BVelvet2-3B-VisionEuroVLM-1.7BSmolVLM2-2.2B †TowerVision-2B †§
Transcription
Doc2Markdown59.367.839.450.644.015.07.80.00.0
Doc2Text60.946.347.352.939.813.98.30.00.0
Image2Markdown87.579.663.071.459.256.49.330.012.4
Image2Text91.274.860.770.558.654.815.723.415.9
Passage Extraction37.048.544.740.640.728.634.228.332.3
QA
Question Answering59.862.059.850.848.040.246.841.743.8
TableQA61.367.771.461.756.631.640.929.140.8
FigureQA48.559.559.247.749.536.438.930.138.2
Multi-page QA53.157.257.553.854.836.442.435.22.4
Multi-page TableQA55.061.863.855.655.820.437.123.96.3
Multi-page figureQA45.156.151.946.252.325.934.827.03.8
Extraction
Key-value Extraction37.027.335.328.531.88.87.315.39.6
Named-entities extraction59.229.136.324.430.05.26.08.27.4
Summarization
Conditional Summarization80.873.884.776.490.564.068.060.176.2
Document Summarization45.742.747.243.544.723.028.018.41.7
Page Summarization54.749.351.447.743.937.835.825.033.9
Translation
Document Translation49.633.147.531.229.113.011.20.00.0
Page Translation66.747.958.543.436.426.316.912.016.7

Villanova2-2B-VL is a document model first. On MDU it is first of the 9 models, 3.8 points above Qwen3.5-2B and 4.1 above Ministral-3-3B, and 28 points or more above the other small EU models. The lead comes from the tasks where the answer has to be written rather than picked: transcription (+3.8 over the next best), named-entity extraction (59.2 against 36.3 for the runner-up) and translation (+5.1). Summarization is level with Ministral-3-3B; page and table QA trails by about 7 points against Qwen3.5-2B and Ministral-3-3B.

On the multilingual benchmarks it is 3rd of 9 and the best EU model, ahead of Velvet2-3B-Vision (+0.8) and Ministral-3-3B (+2.6), with the highest open-ended VQAv2 average in the table (66.3). On the general benchmarks it sits mid-table, ahead of every EU model of its size except Ministral-3-3B. It is the strongest small model here for multilingual document work, not the best general-purpose 2B vision-language model.


Fine-tuning

  • Start from this checkpoint for document or domain adaptation; LoRA on the language model is enough for most extraction and formatting tasks.
  • Keep the Villanova tokenizer and the shipped chat template: the template adds the BOS token and the <|im_start|> / <|im_end|> turn markers the model was trained with, and generation stops on <|im_end|>.
  • The model was trained in BF16 (DeepSpeed ZeRO-2) on packed sequences of up to 16,384 tokens; BF16 is the recommended default for fine-tuning.
  • Train at the resolution you will serve at. Dense pages benefit from the shipped 2,304-token minimum.

License, citation, acknowledgements

License. Apache 2.0. The vision encoder and projector are initialized from Qwen3-VL-4B-Instruct, released under Apache 2.0; the language model is Villanova2-2B-Base.

Citation. If you use Villanova2-2B-VL, please cite the technical report and the inaugural Villanova paper, Multi-SFT for the multilingual data, and the multilingual vision-language training and evaluation resources:

@inproceedings{simonazzi2026villanova2b,
  author    = {Simonazzi, Stefano and Zeinalipour, Kamyar and Gabburo, Matteo and
               Baiamonte, Daniela and Fano, Elena and Zugarini, Andrea},
  title     = {Villanova-2B: European Open Multilingual and Multimodal Language Models},
  booktitle = {Proceedings of the Twelfth Italian Conference on Computational Linguistics (CLiC-it 2026)},
  editor    = {Basile, Valerio and Croce, Danilo and Passaro, Lucia and Pirrone, Roberto},
  year      = {2026},
  note      = {In press}
}
@techreport{villanova2_2026,
  title       = {Villanova2 --- Technical Report},
  author      = {{Villanova.AI}},
  institution = {Villanova.AI},
  year        = {2026},
  note        = {Coming soon}
}
@misc{baiamonte2026multisft,
  author        = {Baiamonte, Daniela and Zeinalipour, Kamyar and Fano, Elena and
                   Simonazzi, Stefano and Zugarini, Andrea},
  title         = {Multi-SFT: Permissively-Licensed Multilingual Instruction-Following},
  year          = {2026},
  eprint        = {2610.22086},
  archivePrefix = {arXiv},
  url           = {https://arxiv.org/abs/2610.22086}
}
@article{baiamonte2026multilingual,
  title={Multilingual Training and Evaluation Resources for Vision-Language Models},
  author={Baiamonte, Daniela and Fano, Elena and Gabburo, Matteo and Simonazzi, Stefano and Rigutini, Leonardo and Zugarini, Andrea},
  journal={arXiv preprint arXiv:2604.18347},
  year={2026}
}

Acknowledgements. This work is part of the Villanova project, financed by IPCEI-CIS, Prog. n. SA. 102519 — CUP B29J24000850005.

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

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

GPU в ailist

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

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

Подбираем GPU…

Ревизия весов
0aeb9db

0 моделей