/ Модель

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

Лицензия
Apache 2.0
Базовая модель
OvisOCR2
Библиотека
llama.cpp
Опубликована
13 авг 2026

OvisOCR2-GGUF-SOTA-20260823

Изображение и текст → текст11 профессий
857скачиваний за 30 дней1лайквеса обновлены22 окт 2026

Описание модели

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

MDfox/OvisOCR2-GGUF-SOTA-20260823 — неофициальная конверсия модели ATH-MaaS/OvisOCR2 в формат GGUF, подготовленная для запуска через llama.cpp.

Модель предназначена для мультимодального преобразования изображений в текст, прежде всего для OCR и разбора документов, включая задачи, оцениваемые на OmniDocBench. Конверсия собрана и протестирована с llama.cpp v0.4.0.

Для работы требуется языковая модель GGUF и отдельный файл mmproj, отвечающий за обработку изображений. Доступны различные варианты квантования: от Q2_K до Q8_0, а также BF16 для mmproj. В опубликованных тестах использовался контекст до 32 768 токенов на слот, обработка изображений с 196–8 100 image tokens и лимит генерации до 16 384 токенов. Наивысший заявленный результат на OmniDocBench v1.6 составил 96,4547 для Q8_0 с BF16 mmproj; компактный вариант Q3_K_M с Q8_0 mmproj имеет размер 555,2 МиБ и результат 96,2012.

Сильными сторонами являются высокое качество распознавания и структурного анализа документов при сравнительно небольшом размере квантованных сборок, а также поддержка запуска локально через llama.cpp. К ограничениям относятся неофициальный статус конверсии, необходимость совместимых версий llama.cpp и наличия двух файлов модели, а также заметное снижение качества у наиболее агрессивного варианта Q2_K. Языки, точный размер исходной модели, архитектура и перечень поддерживаемых языков в README не указаны. Распространение заявлено по лицензии Apache-2.0.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

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

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

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

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

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

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

Открыть на Hugging Face

English | 简体中文

OvisOCR2 GGUF

GGUF builds of ATH-MaaS/OvisOCR2 for llama.cpp. OvisOCR2 is a small (Qwen3.5-0.8B based) document parser that turns a page image into Markdown with LaTeX formulas and HTML tables.

Converted and quantized with llama.cpp v0.5.0 (7fe450e). Eight language model / projector pairs were evaluated end to end on all 1,651 OmniDocBench pages. This is an unofficial conversion.

Which files to download

You need one language model and one mmproj (vision projector). Use mmproj-OvisOCR2-Q8_0.gguf unless you have a reason not to.

GoalLanguage modelSize with Q8_0 mmprojOmniDocBench overall
Best qualityOvisOCR2-Q8_0.gguf885 MiB96.41
Same quality, smallerOvisOCR2-Q6_K.gguf711 MiB96.39
BalancedOvisOCR2-Q4_K_M.gguf615 MiB95.89
SmallOvisOCR2-Q3_K_S.gguf526 MiB95.65
Smallest that holds upOvisOCR2-IQ3_XXS-imatrix.gguf490 MiB95.20 †

Avoid Q2_K: it loses about 9 points (87.30) and runs into the output-token limit on 12% of pages.

† IQ models use an importance matrix calibrated on OmniDocBench outputs. Their scores overlap with the calibration data and are not clean held-out results.

Quick start

Download a pair and the recommended prompt:

hf download MDfox/OvisOCR2-GGUF-SOTA-20260823 \
  OvisOCR2-Q6_K.gguf mmproj-OvisOCR2-Q8_0.gguf prompt.txt --local-dir .

Single image:

llama-mtmd-cli -m OvisOCR2-Q6_K.gguf --mmproj mmproj-OvisOCR2-Q8_0.gguf \
  --image page.png -f prompt.txt \
  -ngl all -c 32768 -n 16384 --temp 0 --flash-attn on \
  --image-min-tokens 196 --image-max-tokens 8100

OpenAI-compatible server (the setup used for the benchmark):

llama-server -m OvisOCR2-Q6_K.gguf --mmproj mmproj-OvisOCR2-Q8_0.gguf \
  --jinja -ngl all -c 98304 --parallel 3 --kv-unified --flash-attn on \
  --cache-type-k bf16 --cache-type-v bf16 \
  --image-min-tokens 196 --image-max-tokens 8100

Send the page image followed by the text of prompt.txt as one user message, with temperature: 0, max_tokens: 16384 and "chat_template_kwargs": {"enable_thinking": false}.

The files were produced with llama.cpp v0.5.0. Earlier tests also loaded the non-IQ files on v0.3.0 and v0.4.0 servers; newer releases are expected to work but are not covered by these benchmarks.

Files

FileMiBBenchmarked
OvisOCR2-BF16.gguf1446.5yes (with BF16 mmproj)
OvisOCR2-Q8_0.gguf774.2yes
OvisOCR2-Q6_K.gguf600.6yes
OvisOCR2-Q5_K_M.gguf551.2—
OvisOCR2-Q4_K_M.gguf504.8yes
OvisOCR2-Q3_K_M.gguf444.6—
OvisOCR2-Q3_K_S.gguf415.2yes
OvisOCR2-Q2_K.gguf402.8yes
OvisOCR2-IQ3_M-imatrix.gguf432.9—
OvisOCR2-IQ3_S-imatrix.gguf429.9—
OvisOCR2-IQ3_XS-imatrix.gguf422.8—
OvisOCR2-IQ3_XXS-imatrix.gguf379.6yes †
OvisOCR2-IQ2_M-imatrix.gguf360.4yes †
OvisOCR2-IQ2_S-imatrix.gguf349.8—
OvisOCR2-IQ2_XS-imatrix.gguf347.0—
OvisOCR2-IQ2_XXS-imatrix.gguf336.0—
mmproj-OvisOCR2-BF16.gguf197.7yes
mmproj-OvisOCR2-Q8_0.gguf110.6yes
OvisOCR2-OmniDocBench-BF16BF16Predictions-imatrix.gguf1.1calibration data, not a model

Every quantized language model comes straight from the BF16 conversion, and the Q8_0 projector straight from the BF16 projector; nothing was re-quantized twice. Hashes are in checksums.sha256.

OmniDocBench results

All 1,651 pages, official end-to-end quick-match evaluator. No page failed in any run.

Language modelmmprojMiBOverall ↑Text edit ↓Formula CDM ↑Table TEDS ↑Pages/minHit token limit
Q8_0Q8_0884.896.410.0245397.4094.2712.010
Q6_KQ8_0711.196.390.0245197.1894.4613.110
BF16BF161644.296.350.0244697.0994.4110.39
Q4_K_MQ8_0615.395.890.0255596.8193.4113.48
Q3_K_SQ8_0525.795.650.0275596.3093.4012.021
IQ3_XXS †Q8_0490.195.200.0289695.9792.5112.116
IQ2_M †Q8_0471.093.110.0337591.8890.8210.936
Q2_KQ8_0513.387.300.0755083.0986.385.2198

Overall = ((1 − text edit) × 100 + formula CDM + table TEDS) / 3. Sizes are the two files combined, not VRAM. "Hit token limit" counts pages that reached 16,384 output tokens, usually because of repetition.

What the numbers say:

  • Q8_0, Q6_K and BF16 are within 0.06 points of each other, so the 8-bit and 6-bit files are effectively lossless.
  • Going down to Q4_K_M or Q3_K_S costs 0.5–0.8 points, mostly on tables and formulas.
  • Below 3 bits quality drops fast. Q2_K repeats itself far more often, which also makes it the slowest file.

Real-world capture (Real5-OmniDocBench)

Real5-OmniDocBench re-captures OmniDocBench pages under five real-world conditions (1,355 pages each). Only IQ3_XXS + Q8_0 mmproj was run here.

ConditionOverall ↑Text edit ↓Formula CDM ↑Table TEDS ↑
Scanning95.040.0395897.4891.60
Illumination94.400.0419296.4390.97
Screen photography93.150.0580094.5790.69
Warping91.760.0689294.8387.34
Skew89.670.0651093.6281.92

Scanned and unevenly lit pages are close to the clean-page score; skewed pages hurt tables the most. The † calibration caveat applies here too.

Benchmark setup

  • Data: OmniDocBench at revision aa1ee96, 1,651 pages; Real5-OmniDocBench at revision b3ca1d3.
  • Scoring: official end-to-end quick-match evaluator, run in the fixed Docker image ghcr.io/zeng-weijun/omnidocbench-eval:repro-ubuntu2204.
  • Inference: llama.cpp v0.5.0 llama-server, CUDA, one RTX 5060 Ti 16 GB. 3 parallel slots, 32K context per slot, BF16 KV cache, flash attention, temperature 0, up to 16,384 output tokens, 196–8,100 image tokens, prompt from prompt.txt.
  • Evidence: benchmark-results/ has per-run summaries, evaluator outputs, settings, GPU traces and the scripts used (reproduction/). summary.csv lists every metric of every run. Raw files keep the local paths recorded at run time.

About the IQ files

The IQ2/IQ3 files share one importance matrix computed from cleaned OmniDocBench predictions of the BF16 model. That makes their OmniDocBench and Real5 scores optimistic. If you need a fair number for these files, evaluate them on your own documents. Details: CONVERSION_NOTES.md and calibration/.

Changes from the previous release

The previous release (2026-09-12) was built with llama.cpp v0.4.0. This update:

  • rebuilds every file with v0.5.0, which adds one metadata key; tensor data of the BF16 model is unchanged;
  • adds IQ3_S, IQ3_XS and four IQ2 variants, and recalibrates the IQ files from BF16 instead of Q8_0 predictions;
  • re-runs the OmniDocBench evaluation on v0.5.0 and adds Q6_K, BF16, IQ2_M and Real5 results. Q3_K_M, IQ3_M and Q8_0 + BF16 mmproj were not re-run; on v0.4.0 they scored 96.20, 95.95 and 96.45.

The v0.4.0 files and results remain available in the repository's commit history.

License

Apache-2.0, following the original model. Please cite the OvisOCR2 authors when you use this model.

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

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

GPU в ailist

Универсальный рантайм · llama.cpp

Нельзя запустить

GGUF-веса поддерживаются только для текстовых LLM (llama.cpp).

Ревизия весов
dfe9304

0 моделей