Mindket

OvisOCR2

Newversion 1 · updated

Overview

Document parsing model that reads a page image and writes Markdown in reading order, covering text, formulas and tables. About 0.8B parameters, run through vLLM. For developers who digitize documents.

OvisOCR2 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python on Windows, macOS or Linux
  • vLLM 0.22.1 and Pillow
  • A GPU, since the card's code sets how much GPU memory vLLM may use
Runs in
  • Windows, macOS or Linux with Python, to download the files
  • A Python script that uses vLLM, where the card sets GPU memory use
  • The online demo page on Hugging Face, for a quick try
Start with
pip install "vllm==0.22.1" pillow

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

OvisOCR2 is a small model that parses whole document pages. You give it a page image, and it writes one Markdown document in reading order, with text, formulas, tables and picture regions. It was built by post-training Qwen3.5-0.8B and runs without a separate layout pipeline.

Who it suits

It suits developers and data teams who turn scanned or photographed pages into text they can search, edit or feed to other tools. You need Python and a machine that can run vLLM.

IndustryWho uses itHow they use itExample
Document processingData engineersConvert page images into Markdown for search and reviewTurning a scanned report into editable text
ResearchAcademicsParse papers that hold formulas and tablesGetting LaTeX formulas out of a paper page
Back officeOperations teamsPull tables from page images into a usable formReading a table as HTML from a form page
SoftwareApplication developersAdd page parsing to an app through a short Python classCalling the parser on a batch of images

If you only need to read one page now and then, you can skip the local setup and try the online demo on Hugging Face.

Where to use it

You run it from Python on your own machine, with vLLM doing the inference.

  • Windows, macOS or Linux with Python, to download the files
  • A Python script that uses vLLM, where the card sets GPU memory use
  • The online demo page on Hugging Face, for a quick try
Use caseWhoWhat they get back
Parse a page imageDevelopersOne Markdown string in natural reading order
Read a tableAnalystsThe table written as an HTML table
Read a formulaResearchersThe formula written as LaTeX

How to set it up

You need Python, the vLLM package at version 0.22.1, and Pillow, plus a GPU for the settings the card uses. The model loads by its Hugging Face name.

  • Python on Windows, macOS or Linux
  • vLLM 0.22.1 and Pillow
  • A GPU, since the card's code sets how much GPU memory vLLM may use
  1. Install vLLM and Pillow with the command below.
  2. Optionally download the model files ahead of time.
  3. Copy the card's parser class and point it at the model name.
pip install "vllm==0.22.1" pillow
pip install -U huggingface_hub
hf download ATH-MaaS/OvisOCR2

How to use it

Build the parser once, then hand it a list of page images. It returns one Markdown string per page. The card's code uses greedy decoding and allows up to 16384 new tokens per page.

ToolWhat it does
OvisOCR2ParserLoads the model with vLLM and sets the fixed parsing instruction
parseRuns a list of page images and returns Markdown strings
filter_imgtagsA flag on parse that controls the image tags in the result
from PIL import Image
from vllm import LLM, SamplingParams

Example

You pass in an image of a report page that holds a paragraph, a formula and a table. You get back Markdown with the paragraph as plain text, the formula as LaTeX, the table as HTML and the page's charts as image tags.

For newcomers and experts

OCR means reading text from a picture. This model goes further and rebuilds a page, including tables and formulas, as Markdown. Start with one clear page image and check the Markdown against the original.

For experts, it is Qwen3.5-0.8B post-trained with a data engine that mixes real and synthetic pages, and a multi-stage recipe of SFT, RL and OPD. Images are scaled between 448 by 448 and 2880 by 2880 pixels, and the instruction asks for text without translation. The trade-off is a small deployment footprint, with one model parsing each page in a single pass.

  1. A page image and a fixed instruction go in
  2. The 0.8B model reads text, formulas and tables
  3. It writes Markdown in natural reading order
  4. Charts become image tags with box coordinates
  5. You get one Markdown string per page

Good to know

The authors report 96.58 overall on OmniDocBench v1.6 and 75.06 on the Avg3 score of PureDocBench. They say no end-to-end model had led the OmniDocBench board before, only pipelines. Others have published 27 quantized and 5 fine-tuned versions.

  • License: Apache 2.0
  • Cost to run: none named, with no key or paid service in the source
  • Data it reaches: the page images you give it and the model files fetched from the hub
  • Not for: translating or rewording text, since the instruction tells it to keep the original wording

README and files

README

OvisOCR2

Document parsing model that reads a page image and writes Markdown in reading order, covering text, formulas and tables. About 0.8B parameters, run through vLLM. For developers who digitize documents.

Made by ATH-MaaS on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: OvisOCR2 is a small model that parses whole document pages. You give it a page image, and it writes one Markdown document in reading order, with text, formulas, tables and picture regions. It was built by post-training Qwen3.5-0.8B and runs without a separate layout pipeline.

Who it suits: It suits developers and data teams who turn scanned or photographed pages into text they can search, edit or feed to other tools. You need Python and a machine that can run vLLM.

Industry | Who uses it | How they use it | Example
Document processing | Data engineers | Convert page images into Markdown for search and review | Turning a scanned report into editable text
Research | Academics | Parse papers that hold formulas and tables | Getting LaTeX formulas out of a paper page
Back office | Operations teams | Pull tables from page images into a usable form | Reading a table as HTML from a form page
Software | Application developers | Add page parsing to an app through a short Python class | Calling the parser on a batch of images

If you only need to read one page now and then, you can skip the local setup and try the online demo on Hugging Face.

Where to use it: You run it from Python on your own machine, with vLLM doing the inference.

  • Windows, macOS or Linux with Python, to download the files
  • A Python script that uses vLLM, where the card sets GPU memory use
  • The online demo page on Hugging Face, for a quick try
Use case | Who | What they get back
Parse a page image | Developers | One Markdown string in natural reading order
Read a table | Analysts | The table written as an HTML table
Read a formula | Researchers | The formula written as LaTeX

How to set it up: You need Python, the vLLM package at version 0.22.1, and Pillow, plus a GPU for the settings the card uses. The model loads by its Hugging Face name.

  • Python on Windows, macOS or Linux
  • vLLM 0.22.1 and Pillow
  • A GPU, since the card's code sets how much GPU memory vLLM may use
  1. Install vLLM and Pillow with the command below.
  2. Optionally download the model files ahead of time.
  3. Copy the card's parser class and point it at the model name.
pip install "vllm==0.22.1" pillow
pip install -U huggingface_hub
hf download ATH-MaaS/OvisOCR2

How to use it: Build the parser once, then hand it a list of page images. It returns one Markdown string per page. The card's code uses greedy decoding and allows up to 16384 new tokens per page.

Tool | What it does
OvisOCR2Parser | Loads the model with vLLM and sets the fixed parsing instruction
parse | Runs a list of page images and returns Markdown strings
filter_imgtags | A flag on parse that controls the image tags in the result
from PIL import Image
from vllm import LLM, SamplingParams

Example: You pass in an image of a report page that holds a paragraph, a formula and a table. You get back Markdown with the paragraph as plain text, the formula as LaTeX, the table as HTML and the page's charts as image tags.

For newcomers and experts: OCR means reading text from a picture. This model goes further and rebuilds a page, including tables and formulas, as Markdown. Start with one clear page image and check the Markdown against the original.

For experts, it is Qwen3.5-0.8B post-trained with a data engine that mixes real and synthetic pages, and a multi-stage recipe of SFT, RL and OPD. Images are scaled between 448 by 448 and 2880 by 2880 pixels, and the instruction asks for text without translation. The trade-off is a small deployment footprint, with one model parsing each page in a single pass.

A page image and a fixed instruction go in
The 0.8B model reads text, formulas and tables
It writes Markdown in natural reading order
Charts become image tags with box coordinates
You get one Markdown string per page

Good to know: The authors report 96.58 overall on OmniDocBench v1.6 and 75.06 on the Avg3 score of PureDocBench. They say no end-to-end model had led the OmniDocBench board before, only pipelines. Others have published 27 quantized and 5 fine-tuned versions.

  • License: Apache 2.0
  • Cost to run: none named, with no key or paid service in the source
  • Data it reaches: the page images you give it and the model files fetched from the hub
  • Not for: translating or rewording text, since the instruction tells it to keep the original wording

On Hugging Face, 13 November 2026

  • Task: image text to text
  • Library: transformers
  • Parameters: 853M
  • Weights: about 1.7 GB in BF16; about 426 MB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 28,050
  • Likes: 504
  • License: apache-2.0
  • Based on: Qwen/Qwen3.5-0.8B
  • Quantized versions: 27
  • Fine-tunes: 5
  • Tags: transformers, safetensors, qwen3_5, image-text-to-text, document-parsing, multimodal, markdown, tables, formulas, vllm, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download ATH-MaaS/OvisOCR2

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-13

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
OvisOCR2 This page28,050504853Mapache-2.0
OvisOCR3Shares formulas · markdown · tables203,064121853Mapache-2.0
Xiaomi-OCR-0Shares document-parsing · multimodal · qwen3_529,537319873Mapache-2.0
Qwopus3.8-27B-Coder-FlashShares vllm · multimodal · qwen3_51,4963427.8Bapache-2.0
LightOnOCR-3-4BShares tables · qwen3_5 · image-text-to-text15,4911434.5Bapache-2.0
LightOnOCR-3-0.8BShares tables · qwen3_5 · image-text-to-text13,96599853Mapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

Similar in Developer

See all in Developer

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k