@dotey: LlamaIndex 公开两款文档解析模型:40 亿参数的 OCRia-1 用 GPU 跑复杂表格和图表,810 万参数的 nano 用 CPU 跑日常文档,营收或融资超 200 万美元的公司商用要买授权 LlamaIndex 先后发了两…
摘要
LlamaIndex 开源了两款文档解析模型:40 亿参数的 OCRia-1(GPU,主打复杂表格、图表和公式)与 810 万参数的 OCRia-nano-1(CPU,面向日常文档),权重已上线 Hugging Face,商用超 200 万美元营收/融资门槛需购买授权。
查看缓存全文
缓存时间: 2026/11/26 03:46
LlamaIndex 公开两款文档解析模型:40 亿参数的 OCRia-1 用 GPU 跑复杂表格和图表,810 万参数的 nano 用 CPU 跑日常文档,营收或融资超 200 万美元的公司商用要买授权
LlamaIndex 先后发了两款把 PDF 和扫描件转成 Markdown 的模型。10 月 22 日发的 OCRia-1 有 40 亿参数,要用 GPU,专门对付复杂表格、图表和公式,当天就用到了 LlamaParse 云服务里。11 月 23 日发的 OCRia-nano-1 只有 810 万参数,在普通 CPU 上跑,负责大量日常文档。
两款的权重 11 月 23 日都放上了 Hugging Face。个人、研究和小公司可以免费用,年营收或累计融资超过 200 万美元的公司拿来做业务,要找 LlamaIndex 另买授权。
【OCRia-1:表格、图表、格式】
OCRia-1 基于阿里的 Qwen3.5-4B,用约 10 万页文档做了监督微调和强化学习。在 LlamaIndex 自家的 ParseBench 上(第一版,文字、格式、表格、图表四项平均),它得 87.4 分,比第二名 LightOnOCR-3-4B 的 75.3 高 12.1 分。
差距最大的是图表。它会把柱状图、折线图读成一张数据表,每个数字放在对应的系列和标签下,这一项 85.1 分,第二名 66.1。上标、下标、删除线、勾选框这些格式也会保留,公式写成 LaTeX,手写公式也能认,格式这一项 83.4 分,第二名 67.9。
换到三个外部机构做的基准,它在表格上还是第一,但领先不多:olmOCR-bench 表格 92.9 对 92.1,PulseBench-Tab 84.1 对 82.4,fr-bench-pdf2md 的长表格 83.2 对 80.6。博客的对比只列了 35B 以下的模型,模型页补上了 350 亿参数的 Infinity-Parser2-Pro,olmOCR-bench 总分 83.5 对 83.2,基本打平。在新版 ParseBench-2 的完整排行榜上,它在开放权重模型里第一,算上商业 API 和前沿大模型排第七。
速度要看在哪跑。LlamaParse 用的是量化加推测解码的优化版,一张 B200 显卡上单个请求每秒解码约 4700 个 Token,64 个请求并发每秒处理 10.2 页。Hugging Face 上放的是没优化的原始权重,约 10GB,用标准 vLLM 跑大约慢 9 倍。
【OCRia-nano-1:CPU 上的日常款】
nano 由七个小模型组成:找文字行、判断文字类型(拉丁字母、中日韩、阿拉伯和希伯来文,以及约 17 种其他文字)、四个识别器分别认字,再由一个 427 万参数的表格和版面模型还原结构。电子版 PDF 自带文字的部分直接读,只有扫描件和图片里的字才动用识别。
在 ParseBench-2 上,nano 总分 59.2,表格 59.5。同一台 16 核机器上,Datalab 家的两款同类 CPU 工具 Indra 是 55.1、Marker 是 52.5,LiteParse 原来默认的 Tesseract 配置是 48.7。单核平均每页 426 毫秒,16 核并行每秒 27.8 页,是 Tesseract 配置的 2 倍。
同一基准上 OCRia-1 在 LlamaParse 里是 87.0 分,nano 大约是它的三分之二。nano 没有图表模型,图表原样留成图片,这一项只有 3.1 分;扫描件里的公式也认不出来。官方也没单独公布 nano 的中文成绩。
【怎么用】
OCRia-1 最省事的用法是 LlamaParse,按页扣积分,每月送 1 万积分。LlamaIndex 说换上 OCRia-1 后价格不变,但没说它对应哪一档。想自己部署,要有 NVIDIA 显卡,用 vLLM 或 Transformers 加载。
nano 跑在 LlamaIndex 的开源本地解析工具 LiteParse 里:
pip install liteparse lit models pull ocria-nano lit parse doc.pdf –format markdown
模型加运行库一共下载 60 到 75MB,拉下来以后 LiteParse 默认就改用它。也支持 Node.js 和浏览器。
【能不能商用】
两款权重的许可证条款一样,都是 LlamaIndex 在 Open RAIL-M 基础上改的:个人使用、研究、评测免费;上一年营收和累计融资都不超过 200 万美元的组织,可以免费商用。超过任一门槛,或者拿它做跟 LlamaParse 竞争的文档解析服务(不论公司大小),都要买授权。许可证还禁止用它们的输出训练类似的模型。LiteParse 本身是 Apache 2.0,不受这些限制。
以上跑分都是 LlamaIndex 自己测的,ParseBench 也是 LlamaIndex 做的基准;三个外部基准的题库是别家做的,分数也是 LlamaIndex 自己跑、自己整理的,还没有第三方复现。nano 的博客开头说它比 Tesseract 快“2 到 5 倍以上”,技术报告里对 Tesseract 的数字是吞吐 2 倍、单页平均约 1.8 倍。
OCRia-1 博客:https://llamaindex.ai/blog/parse-ocria-1… OCRia-1 模型与许可证:https://huggingface.co/llamaindex/OCRia-1… OCRia-nano-1 博客:https://llamaindex.ai/blog/introducing-ocria-nano-1… OCRia-nano-1 模型与许可证:https://huggingface.co/llamaindex/OCRia-nano-1…
Introducing OCRia-1
Source: https://www.llamaindex.ai/blog/parse-ocria-1 Today, we are introducing OCRia-1, the world’s best document parsing model. It is a 4-billion-parameter vision-language model (VLM) that is state-of-the-art in the dimensions that matter most: accuracy, cost, and latency, and it’s powering LlamaParse today.
On ParseBench, OCRia-1 sets a new high score for any parsing model under 35 billion parameters:87.4 overallacross text content, formatting, tables, and charts, 12.1 points ahead of the next-highest parsing model. It also leads table evaluations across three third-party benchmarks:olmOCR-bench* (92.9),PulseBench-Tab (84.1), andfr-bench-pdf2md.
OCRia-1 4B87.4
LightOnOCR-3-4B75.3
Chandra-OCR-2 (4B)74.8
Mistral OCR 4.167.5
LightOnOCR-2-1B61.1
Surya OCR 2 (0.7B)58.4
dots.mocr (3B)55.6
olmOCR-2 (7B)43.3
That matters because demand for document parsing is growing exponentially with the rise of agentic automation in professional work. Most of the information in enterprise documents, such as financial reports, insurance filings and tax forms, is organized as tables, charts, diagrams and formatted text. VLMs have become the standard for digitizing these documents, yet both frontier models and existing open-weight models still struggle to parse them accurately, cheaply, and quickly at scale. OCRia-1 is the best model available today at all three.
State-of-the-art document parsing
OCRia-1 achieves the highest overall scores among the systems we evaluated onParseBench,PulseBench-Tab, andfr-bench-pdf2md, with a model of just4 billion parameters. On ParseBench, it scores87.4, a12.1-point leadover the next-highest system.
The evaluations span different languages, document types, and scoring methods from complete document pages to multilingual tables.
Overall document parsing results (we compare all systems at the same rendering for a fair comparison keeping benchmarks own standard rendering rules. *Scores are adjusted for olmOCR-bench based on standard 1,288px rendering for all models).
ParseBench
OCRia-1 4B87.4
LightOnOCR-3-4B75.3
Chandra-OCR-2 (4B)74.8
dots.mocr (3B)55.6
olmOCR-2 (7B)43.3
olmOCR-bench
OCRia-1 4B83.5
olmOCR-2 (7B)82.3
LightOnOCR-3-4B81.2
Chandra-OCR-2 (4B)81.2
dots.mocr (3B)80.1
PulseBench-Tab
OCRia-1 4B84.1
LightOnOCR-3-4B82.4
dots.mocr (3B)82.4
Chandra-OCR-2 (4B)80.0
olmOCR-2 (7B)79.5
fr-bench-pdf2md
OCRia-1 4B72.1
LightOnOCR-3-4B71.4
Chandra-OCR-2 (4B)65.5
olmOCR-2 (7B)56.9
dots.mocr (3B)56.8
Reconstructing complex tables
Complex tables are a demanding test of document understanding. A parser must recover nested headers, merged cells, and irregular grids while preserving the relationships between them. Losing those relationships can turn an accurate transcription into an incorrect financial comparison or a misinterpreted coverage limit.
We made this a central focus of OCRia-1. It reconstructs nested headers, merged cells, and irregular grids, preserving the relationships between values and their labels.
OCRia-1’s table accuracy makes it especially well suited to financial services and insurance, where interpreting financial statements and coverage schedules requires preserving complex table structure.
OCRia-1 leads table-specific evaluations across all four benchmarks we tested, including three developed independently. Its lead spans ParseBench, olmOCR-bench*, PulseBench-Tab’s multilingual tables, and both long-table categories in fr-bench-pdf2md.
ParseBenchTables dimension
OCRia-1 4B91.5
Chandra-OCR-2 (4B)89.2
dots.mocr (3B)85.2
LightOnOCR-3-4B82.5
olmOCR-2 (7B)73.0
olmOCR-benchTables category
OCRia-1 4B92.9
Chandra-OCR-2 (4B)92.1
dots.mocr (3B)90.7
LightOnOCR-3-4B90.2
olmOCR-2 (7B)84.3
PulseBench-TabAll 1,820 tables
OCRia-1 4B84.1
LightOnOCR-3-4B82.4
dots.mocr (3B)82.4
Chandra-OCR-2 (4B)80.0
olmOCR-2 (7B)79.5
fr-bench-pdf2mdLong table
OCRia-1 4B83.2
LightOnOCR-3-4B80.6
Chandra-OCR-2 (4B)80.6
olmOCR-2 (7B)67.9
dots.mocr (3B)56.7
fr-bench-pdf2mdLong table 2
OCRia-1 4B81.9
Chandra-OCR-2 (4B)77.8
LightOnOCR-3-4B70.7
olmOCR-2 (7B)63.9
dots.mocr (3B)59.8
These benchmarks use different datasets and scoring methods, testing performance across multilingual tables, complex structures, and long tables. These results establish complex tables as a defining strength of OCRia-1 across different datasets and evaluation methods.
Turning charts into structured data
Real-world charts come in many forms: stacked bars, overlapping lines, multiple axes, and data points without explicit value labels. Recovering their data means reading the scales, distinguishing the series, and matching each value to the right label. A summary like “revenue grew across all segments” isn’t enough for calculations or analysis—you need the actual numbers. OCRia-1 converts charts into HTML tables of their data points, keeping values associated with the correct series and labels.
ParseBench evaluates both the numbers and those relationships: a value receives credit only when it appears under the correct row and column headers.On ParseBench’s chart evaluation, OCRia-1 scores85.1—a 19.0-point lead over the next-closest model (66.1), while conventional parsers score near zero
OCRia-1 4B85.1
LightOnOCR-3-4B66.1
Chandra-OCR-2 (4B)65.1
Mistral OCR 4.140.1
LightOnOCR-2-1B15.2
olmOCR-2 (7B)13.7
Surya OCR 2 (0.7B)1.2
dots.mocr (3B)0.1
Preserving formatting and mathematical notation
Most parsers strip inline styling, dropping superscripts, subscripts, strikethroughs, and form checkboxes. OCRia-1 retains these marks in Markdown and HTML, and transcribes mathematical formulas into LaTeX rather than plain text. On ParseBench’s formatting dimension, it scores83.4, compared to 67.9 for the next-highest system.
OCRia-1 4B83.4
Surya OCR 2 (0.7B)67.9
Mistral OCR 4.166.4
LightOnOCR-3-4B63.5
LightOnOCR-2-1B63.5
Chandra-OCR-2 (4B)61.4
dots.mocr (3B)47.0
olmOCR-2 (7B)2.2
Data and Training
The magic of OCRia-1 lies in the data and training pipeline. We built a training set of 100k + document pages aimed at the cases modern VLMs still get wrong, from tables and charts that are both dense and span multiple pages to mathematical notation, multilingual text and difficult scans.
We bootstrap ground-truth annotations using generation and review VLMs, together with human annotations. Synthetic document generators supplement the real-world data, allowing us to vary document complexity and diversity while matching the long-tail distribution of real-world documents.
We post-trained OCRia-1 using a combination of supervised fine-tuning (SFT) and reinforcement learning with verifiable rewards (RLVR). SFT gives the model a base layer of parsing capability. Our RL tasks build on that foundation, using carefully designed rewards to improve the model’s ability to generalize across complex tables and charts.
Jerry Liu (@jerryjliu0): Today we are open-sourcing the weights to OCRia-1, our flagship 4B VLM for document OCR 🔥
This is our SECOND open-weight release in two days (we just launched OCRia-nano-1 yesterday!!).
OCRia-1 is on the pareto curve of accuracy and cost relative to other 4B models on multiple
相似文章
llamaindex/OCRia-nano-1
LlamaIndex 发布了 OCRia-nano-1,这是一个面向 CPU 使用的 8.1M 参数文档解析模型管线,由其 4B 参数的 OCRia-1 VLM 蒸馏而来,运行于开源解析器 LiteParse 内部。它在 ParseBench-2 上取得 59.2 的成绩,处理速度达 27.8 页/秒,性能优于 Indra、Marker 等 CPU 解析器,同时支持表格、版面检测和多文字系统 OCR。
LlamaIndex 用 OCRia-nano-1 将 PDF 解析压缩至 810 万参数
LlamaIndex 发布了 OCRia-nano-1,这是一组共 7 个蒸馏模型,总参数量为 810 万,无需 GPU 即可在普通 CPU 上完成 PDF 的 OCR 识别与版面解析,并已集成至 LiteParse 2.21.0。
@taziku_co:仅用 CPU、无需 GPU 即可完成文档解析,每页约 426 毫秒。LlamaIndex 已发布…
LlamaIndex 发布了 OCRia-nano-1,这是一款超轻量级 OCR 模型,参数量仅为 810 万,可在 CPU 上以每页约 426 毫秒的速度解析文档,并支持日语及复杂表格结构识别。
@jerryjliu0:为庆祝黄仁勋的回归及其对开源 AI 的承诺:今天,我们发布 OCRia-nano-1,一款……
LlamaIndex 发布了 OCRia-nano-1,这是一款拥有 810 万参数的开放权重 OCR 模型,在 CPU 上解析页面仅需 426 毫秒,性能优于 Marker、PP-OCRv6 和 Tesseract,同时运行速度快 2–5 倍,专为 PB 级文档摄取设计,用作首轮解析器。
llamaindex/OCRia-1 · Hugging Face
LlamaIndex 发布 OCRia-1,一个用于文档解析的 4B 视觉语言模型,可将页面图像直接转为 Markdown/HTML,并在 ParseBench 等多项基准上取得开源权重模型最高分。