In this article
MOSS recognizes specified regions. Its ground-truth-layout scores do not measure region detection or reading-order errors in a complete document pipeline.
PatSnap has released Hiro-MOSS-OCR 0.3B, a compact document-recognition model. It takes an image of a document region and, depending on the selected task, returns Markdown text, an HTML table or a LaTeX formula. The authors announced weight availability on Hugging Face on May 26, 2026; the repository also included local CUDA Graph inference and vLLM serving examples at that point. The code and weight card identify Apache-2.0 licensing. Project repository, model card.
This specialization preserves some structure lost when a page becomes one continuous string. HTML can represent table cells, for example, while LaTeX can express fractions and subscripts. Such output can support digitization of scientific papers and patents, search preparation and RAG systems that retrieve source passages for a language model. Nevertheless, structured markup is still a recognition result requiring inspection: an incorrect formula sign or displaced cell can change meaning.
How processing works
MOSS operates on individual image regions. In the developer examples, the caller supplies an image and a task type: text, table or math. A complex page therefore needs additional processing to identify text blocks, tables and formulas, classify them, determine reading order and assemble the results. Overall pipeline quality depends on those stages too. PatSnap provides a separate Hiro-Smart-Doc project for complete documents. The OCR model alone should not be treated as a demonstrated solution for whole-page layout analysis.
The PDF-to-Markdown guide explains why block order matters. According to the authors’ architecture description, MOSS contains approximately 320.8 million parameters and was trained from scratch on more than 50 million samples. Its NaViT-based visual encoder, designed for varying image resolutions, accounts for about 90 million parameters. A connector merges visual patches before a transformer decoder of about 216.6 million parameters generates the markup sequence. The card does not detail the size and provenance of each training-data component. Sample count should not be interpreted as a count of unique documents.
The authors list English, Chinese and Japanese support. Russian is absent from that list, so performance on Russian-language material needs separate evaluation. Published results should likewise not be transferred automatically to handwriting, poor scans or arbitrary forms. Resolution, typography and region extraction matter for a particular collection. Model card.
What the measurements show
The developers’ README reports their own OmniDocBench v1.5 evaluation with ground-truth layout labels. MOSS scores 90.33 table TEDS, 95.56 formula CDM and 95.01 text similarity, with a 93.63 overall result. The same author table gives 95.96 overall for GLM-OCR 0.9B and 87.31 for Dolphin 0.3B. These metrics address different output properties: table-structure similarity, formula recognition and text agreement with the reference. They are not percentages of error-free pages. Developer results.
Supplying correct layout labels is consequential. The test measures recognition for correctly specified regions, rather than errors in finding regions and determining reading order. The authors separately report OmniDocBench v1.6 scores of 89.92 for tables, 95.66 for formulas, 97.80 for text and 94.46 overall, with ground-truth regions and official normalization. Results from the different benchmark versions should not be mixed directly. The checked material does not provide independent reproduction of these scores. OmniDocBench v1.6 README section.
There is also an internal patent-domain evaluation: MOSS scores 91.64 for tables, 95.34 for formulas and 93.49 overall. Its value is testing a document type relevant to the developer. However, the published table supplies insufficient information about dataset composition, size and splitting to assess generalization to other archives. It is an author result rather than independent confirmation of superiority. Internal benchmark.
Running it and practical limits
The authors offer a simple Transformers path for individual-image checks, local CUDA Graph execution and a vLLM server with an OpenAI-compatible client. The latter needs the bundled adapter to register the model; accelerated paths require a CUDA-capable GPU. Requirements specify Python 3.12 or later, and weights can be downloaded ahead of local use. As with checking DeepSeek-OCR requirements, measure the actual processing path. The documentation does not establish minimum VRAM, so parameter count alone is insufficient: image processing and generation also require memory. Running instructions.
The developers report 58.77 requests per second for MOSS served through vLLM on one RTX 4090, alongside 29.49 for MinerU 2.5. The table does not disclose enough conditions, such as image dimensions, output lengths, batch size and repetitions. These numbers are an author-test reference rather than a promise for another document collection. They also concern vLLM serving, rather than measuring the CUDA Graph path. Speed table.
For deployment, first assemble representative pages from the intended collection. Check region extraction and reading order, then evaluate formula symbols, table structure and text errors separately. Compare consequential results with the original image. The model’s compact size and local execution make it a potential document-pipeline component, but the published measurements do not replace evaluation on the required language and document types.
Sources
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.