OCRia-1-MTP-Repacked

OCRia-1 is a 4B-parameter vision-language model developed by LlamaIndex on top of Qwen3.5-4B for high-fidelity single-page document parsing directly from page images without external OCR engines or text layers. Trained on 100,979 real and synthetic pages via supervised fine-tuning, GRPO reinforcement learning with verifiable dimension-specific rewards, and checkpoint averaging, it transcribes complex documents into structured Markdownβ€”converting multi-level and merged-cell tables (colspan/rowspan) as well as plot charts into HTML <table> elements, diagrams into Mermaid blocks, math and handwriting into LaTeX, and fine-grained formatting (strikethrough, underlines, highlights, checkboxes, page furniture, and watermarks) into semantic tags, with optional post-hoc visual grounding via ocria_grounding. Ranking as the top open-weight model on both ParseBench 2 (85.24 overall across 4,317 pages) and ParseBench 1 (84.65 overall across 2,078 pages, scoring 82.47 on charts), it is distributed in unoptimized BF16 weights (10.35 GB) for vLLM, Transformers, and Ollama under the custom OCRia-1 Model and Code License (free for research, personal use, and non-competing organizations under $2M in annual revenue and funding).

This repository contains the MTP-repackaged BF16 weights of OCRia-1 | The GGUF (MTP-supported) is available here β€” https://huggingface.co/prithivMLmods/OCRia-1-GGUF

For other inference setups, kindly refer to the original model card β€” https://huggingface.co/llamaindex/OCRia-1. It is recommended to follow the system message prompt.txt without providing any user text, with thinking turned off.

MTP-Repacked [Transformers, BF16]

File Name File Type File Size File Link Description
chat_template.jinja Jinja Template 7.76 kB Link Chat template for formatting conversations and prompts.
config.json JSON 2.89 kB Link Core model architecture and configuration parameters.
generation_config.json JSON 204 Bytes Link Default text generation parameters (e.g., temperature, top_p).
model.safetensors Safetensors 10.6 GB Link Unsharded model weights. Required to load the model.
processor_config.json JSON 1.3 kB Link Configuration for the multimodal (vision/OCR) processor.
tokenizer.json JSON 20 MB Link Complete tokenizer vocabulary and encoding rules.
tokenizer_config.json JSON 1.1 kB Link Tokenizer-specific configuration parameters.

License and Attribution

This model is based on and/or incorporates the following open-source projects and models:

This model is released under the ocria-1-license.

Downloads last month
-
Safetensors
Model size
5B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for prithivMLmods/OCRia-1-MTP-Repacked

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(1)
this model

Collections including prithivMLmods/OCRia-1-MTP-Repacked