/ Модель

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

Контекст
16 384 токена
Параметры
232 млн
Лицензия
Своя лицензия
Архитектура
nemotron_parse · dense
Базовая модель
Nemotron-3.5-Parse
Опубликована
9 ноя 2026

OpenThai2.2-OCR-Markdown-20261127

Генерация текстаТекст → текст7 профессий

Дообученная на базе Nemotron 3.5 Parse модель iApp распознаёт тайские и английские страницы документов и преобразует их в Markdown с таблицами в HTML.

159 тыс.скачиваний за 30 дней71лайквеса обновлены27 ноя 2026

Бенчмарки

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

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

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

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

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

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

OpenThai2.2-OCR-Markdown-20261127 — дообученная iApp модель OpenThai (ранее OpenThaiGPT), разработанная при запуске совместно с AIEAT на базе NVIDIA Nemotron 3.5 Parse. Она преобразует изображения страниц документов на тайском и английском языках в Markdown, восстанавливая порядок чтения и структуру блоков; таблицы выводит в HTML. Архитектура в метаданных обозначена как плотная Nemotron Parse с классом RadioMBartPrefixForCausalLM; модель поддерживает обработку изображений и текста, а контекст составляет 16 384 токена. README указывает размер 0,6 млрд параметров, тогда как метаданные — 231,5 млн, поэтому размер нельзя установить однозначно.

Модель предназначена для OCR и разбора сканов, PDF-страниц и снимков документов, включая таблицы. Для фотографий телефоном можно дополнительно включить поворот страницы и выравнивание изгиба или перспективного наклона. В README приведены высокие результаты на ряде тайских OCR-тестов; среди ограничений отмечены слабая обработка формул и более низкие результаты на англоязычных тестах относительно Typhoon OCR V2. Веса доступны в форматах ONNX и safetensors. Лицензия указана как other, без уточнения условий в предоставленных данных.

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

  • извлечение тайского текста из сканов и PDF
  • преобразование страниц документов в Markdown
  • распознавание таблиц и выдача их в HTML
  • разбор снимков документов с телефона
  • обработка скриншотов документов на тайском и английском

Ограничения

Модель слабее обрабатывает формулы и уступает Typhoon OCR V2 на приведённых англоязычных тестах. README указывает размер 0,6 млрд параметров, тогда как метаданные — 231,5 млн.

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

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

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

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

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

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

Открыть на Hugging Face

OpenThai2.2-OCR-Markdown-20261127

Thai and English document pages to Markdown, with tables as HTML. A 0.6B Thai fine-tune of NVIDIA Nemotron 3.5 Parse, from OpenThai (formerly OpenThaiGPT). Developed by iApp, launched with AIEAT. It keeps Parse's layout boxes, block classes, reading order and serving stack, so it runs anywhere Parse does.

Against Typhoon OCR V2 0.8B

Same pages, same scoring, Typhoon run as its own card says. Higher scores are better.

OpenThai2.2 0.6BTyphoon OCR V2 0.8BResult
Thai documents with tables95.089.0Win, +6.0
Thai printed text (12 sets)90.5585.06Win, +5.5
ThaiOCRBench tables67.967.9Tie
Phone photos (MDPBench) †86.184.7Tie
  Thai photos only84.481.0Tie
Pages that failed0 of 2,270
Speed, one page at a time ‡0.51 s1.71 s3.4× faster
Speed, 16 pages at once ‡2.35 s4.70 s2.0× faster

Win means we are ahead even at the low end of the 95% confidence range; Tie means the range includes zero, so neither model is clearly better. The ranges, from re-sampling the test pages: documents with tables +2.8 to +9.8, Thai text +4.0 to +7.1, ThaiOCRBench tables −3.9 to +4.1, MDPBench −0.9 to +3.6, Thai photos −0.1 to +6.8.

† With the optional turning and flattening of phone photos (see Use). ‡ One H100, each model with its own draft model (ours: NVIDIA's DFlash2, 32 tokens; Typhoon: its EAGLE-3 head, 3 tokens, as its card), alternating fresh servers; median time per page on Thai document pages, 27 November 2026.

Where Typhoon OCR V2 0.8B is ahead: English and formula-heavy benchmarks. By the Typhoon report's numbers, olmOCR-bench 81.7 against our 72.4 and OmniDocBench v1.6 89.4 against 77.9 (formulas are our weakest part), and SEA-DocBench page error 0.108 against 0.124.

What is new in 2.2

  • New weights, trained further on 9,000 simulated steep phone photos and photographed screens. Against 2.1: Thai documents with tables 95.0 (94.0), Thai text 90.55 (90.24), ThaiOCRBench tables 67.9 (69.5).
  • Phone photos, two optional steps (off by default): turn sideways or upside-down pages upright, and flatten a bent or tilted photo. With both, MDPBench rises from 82.5 (2.1 without them) to 86.1.
  • About 3× faster with DFlash2, NVIDIA's block drafter in dflash2/: 0.51 s per page on one H100, against about 1.5 s with the default serve command (the model's built-in one-token draft head) and 2.6 s with no drafting. Accuracy is unchanged: Thai text 90.35 with it and 90.15 without, th-docs-tables 95.7 and 95.2, ThaiOCRBench tables 68.1 and 67.1; no page of 2,528 failed either way.

Use

Install the package from the model folder, serve with vLLM, and parse pages with NVIDIA's DocumentParser.

hf download iapp/OpenThai2.2-OCR-Markdown-20261127 --local-dir OpenThai2.2-OCR-Markdown
pip install -e "./OpenThai2.2-OCR-Markdown[vllm,client]"
vllm serve ./OpenThai2.2-OCR-Markdown --served-model-name nemotron-parse --trust-remote-code
from nemotron_parse.inference import DocumentParser

with DocumentParser(base_url="http://localhost:8000/v1", model="nemotron-parse") as parser:
    doc = parser.parse("page.png", mode="single")
    print(doc["markdown"])   # Markdown; tables as HTML with rowspan/colspan; formulas as $$...$$
    doc["blocks"]            # a box and a class for every block, in reading order

vLLM runs on Linux (on Windows, under WSL2). Step-by-step guide for Linux, Windows and Mac, with a script for pictures and PDFs: English · ภาษาไทย · 中文 (written for 2.0; use this repository's name).

Faster: serve with DFlash2

Needs vLLM 0.34.0 (or another build with native Nemotron Parse and DFlash2) in its own environment, without this package's [vllm] extra; install the package there with [client] only. See docs/serving.md.

vllm serve ./OpenThai2.2-OCR-Markdown --served-model-name nemotron-parse --trust-remote-code \
  --max-model-len 16384 --limit-mm-per-prompt '{"image":1}' \
  --speculative-config '{"method":"dflash","model":"./OpenThai2.2-OCR-Markdown/dflash2","num_speculative_tokens":32}'
  • Keep the word "dflash" out of the model folder's path: vLLM picks the drafting method from the path.
  • These vLLM builds return ำ as two characters; DocumentParser puts it back together (standard_output=True, the default).

Phone photos

pip install onnxruntime opencv-python-headless pyclipper
hf download PaddlePaddle/UVDoc_onnx inference.onnx --local-dir OpenThai2.2-OCR-Markdown/dewarp    # UVDoc, 32 MB
hf download iapp/OpenThai2.2-OCR-Text-20261127 --local-dir OpenThai2.2-OCR-Text                  # for turning, 8 MB
with DocumentParser(base_url="http://localhost:8000/v1", model="nemotron-parse",
                    orient=True, orient_models="OpenThai2.2-OCR-Text",
                    dewarp=True, dewarp_models="OpenThai2.2-OCR-Markdown/dewarp") as parser:
    doc = parser.parse("photo.jpg")

Scans, PDFs and screenshots pass through unchanged. Turning costs about 0.7 s of CPU for a 12-megapixel photo, flattening about 0.45 s.

Options

PostprocessOptionsDefaultEffect
keep_page_headers_footersFalsePage headers and footers stay out of the Markdown (they remain in doc["blocks"]).
standard_outputTrueำ written as one character (U+0E33); no rowspan="1" / colspan="1".
formula_display_dollarsTrueFormulas as $$...$$; False gives Parse's \(...\).

Blank pages come back empty without being sent to the model (skip_blank=False turns this off).

Other ways to run it

All results

Modelth-docs-tablesThaiOCRBench tablesThai text (12 sets)MDPBenchMDPBench ThaiolmOCR-benchOmniDocBench v1.6
OpenThai2.2 0.6B †95.067.990.5586.184.472.477.9
OpenThai2.1 0.6B94.069.590.2482.580.773.179.6
Typhoon OCR V2 0.8B89.067.985.0684.781.081.7 *89.4 *
Typhoon OCR V2 2B91.669.489.5187.085.084.791.5
Nemotron 3.5 Parse 0.6B (base)91.368.389.0279.677.462.480.1

* From the Typhoon OCR 2 report (arXiv:2611.27494); we did not run the 0.8B on these two. Typhoon's other figures are our own reads under its current card (images under 1,600 px enlarged), except MDPBench, read on 13 November 2026.

  • Against Typhoon OCR V2 2B: ahead on Thai documents with tables (+3.4 [+1.3, +6.1]) and Thai text (+1.04 [+0.49, +1.66]), level on MDPBench, behind on ThaiOCRBench tables (−1.4 [−4.9, +1.9], not significant) and well behind on olmOCR-bench and OmniDocBench.
  • The MDPBench gain is the two photo steps': 2.1's weights with them score 87.1.
  • Scores: th-docs-tables and ThaiOCRBench tables are text and table structure (TEDS) together; Thai text is 100 × (1 − CER), a failed page counting as empty; MDPBench with its own scorer, formula metric off.

Model at a glance

Limits

  • Formulas are the weakest part (OmniDocBench formula CDM 64.2 against Typhoon OCR V2 2B's 95.1).
  • English benchmarks: well behind Typhoon on olmOCR-bench and OmniDocBench.
  • Tables unlike Thai official documents can come out with a row missing or a span wrong.
  • Handwriting only at text-line level; full handwritten pages are not a target.
  • On MDPBench 2 of 320 pages were cut off at the token limit (DocumentParser raises GenerationError).

Built on NVIDIA Nemotron

The base model, tokenizer and serving code are NVIDIA's (nvidia/Nemotron-3.5-Parse, OpenMDW-1.1). Their licence, notices and tokenizer attribution are included unchanged, and NVIDIA's model card is kept as NVIDIA_NEMOTRON_PARSE_README.md. Our changes to NVIDIA's code are the Markdown options in nemotron_parse/postprocessing.py, the blank-page check and the optional turning and flattening in nemotron_parse/inference.py, and nemotron_parse/dewarp.py and nemotron_parse/orient.py. The dflash2/ drafter is NVIDIA's, unchanged. The page mask in dewarp/ is iApp's ONNX export of the MonkeyOCRv2 preprocessor's page mask (zenosai/MonkeyOCRv2-S-Parsing, Apache-2.0); UVDoc (Apache-2.0) is downloaded from PaddlePaddle.

Acknowledgements

Trained on NVIDIA H100 GPUs provided by Siam AI. Thanks to NVIDIA for Nemotron 3.5 Parse and DFlash2, to the authors of MDPBench and of Typhoon's evaluation harness, and to the people behind the public data we trained on.

Licence

A derivative of NVIDIA Nemotron 3.5 Parse, distributed under the OpenMDW License Agreement, version 1.1. The tokenizer is MIT-licensed (see TOKENIZER_ATTRIBUTION.md).

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

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

0 моделей