12-04 更新 实时
首页/ 模型选型/ 正文

IBM 开源 Granite Docling V2 系列模型

模型选型 来源:MarkTechPost 2026-12-02 21:17 2 阅读 机器翻译

IBM 的 Docling 团队刚刚发布了 Granite Docling V2。Granite Docling V2 是一个由 2 个开放视觉语言模型组成的模型家族,规模分别为 2B 和 500M。每个模型都能在一次前向处理中把页面图像转成完全结构化的文档。输出格式为 DocLang,这是一种开放标记语言,会保留元素类型、页面位置和阅读顺序。对于 RAG 和智能体开发者来说,这用一个 1 个小模型就替代了拼凑起来的 OCR 与版面分析技术栈。两个模型均以 Apache 2.0 许可发布。你可以通过我们的 GPULeaderboard.com Chrome 扩展查看部署选项和规格。

Granite Docling V2 接替了 SmolDocling 和 Granite-Docling 258M。它与 Granite Vision 5.0 4B 和 Granite Embedding 748M Vision R2 一同发布。Granite Docling 负责转换页面。Granite Vision 负责从复杂视觉内容中提取数据。Granite Embedding Vision 则让结果可被检索。

Markdown 和 HTML 会丢弃版面和元素类型。DocLang 则保留每个元素的类型、位置和阅读顺序。它覆盖标题、嵌套列表、带完整单元格结构的表格、公式、代码以及带说明文字的图片。每个标签和位置都只占单个 Token,因此页面所需的 Token 更少,转换速度更快。DocLang 可通过 docling-core 无损转换为 Markdown、HTML 或 JSON。

2B 模型将 414M 的 SigLIP2 视觉编码器与 1,460M 的 Granite 4.0 解码器配对。一个 55M 的连接器采用了像素重排(pixel shuffle)和 DeepStack。3 个多 Token 预测(MTP)头额外增加 208M 参数,仅用于投机解码。

500M 模型基于 Granite 4.0 350M 构建。它增加了一个 0.1M 参数的密度路由器。该路由器会对每个页面打分,并为每个图块分配 64 个视觉 Token,密集页面则分配 256 个。在 OmniDocBench 上,1,649 个页面中有 428 个(26%)走了密集路径。

研究团队描述了 4 个训练阶段。它们分别是对齐描述生成(captioning alignment)、文档预训练、监督微调,以及带可验证奖励的强化学习。

提示词 <doclang> 可转换整页内容。方括号任务用于限定输出:<ocr>、<table>、<formula>、<picture>、<code>、<layout> 和 <detailed>。这些任务可自由组合,模型不会解码其他任何内容。它也适用于裁剪后的单个元素。

IBM 将内容得分定义为 1 减去归一化编辑距离,并在来自 10 个基准测试的 20,502 页上汇总计算。结果来自 Docling Benchmark Explorer。

竞品仍在部分分项中胜出。MinerU 2.5 Pro 在 OmniDocBench 1.6 上以 97.2 领先,2B 为 95.6。dots.mocr 在 DocLayNet v1 上略胜一筹(98.6 对 98.2)。

在 1 块 H100 80GB 上,2B 启用 MTP 时转换速度为 10.1 页/秒,未启用时为 6.8 页/秒。500M 启用 MTP 时达到 18.5 页/秒,快于 Granite-Docling 258M 的 12.9 页/秒。Nemotron 3.5 Parse 仍然更快,为 20.4 页/秒。

安装方式涵盖 transformers>=5.23.0、vLLM nightly 服务器,以及 Apple silicon 上的 MLX-VLM。MLX 8 位构建版约为 4 GB,而 bfloat16 版本约为 6 GB。更快的“Flash”变体仅存在于 IBM watsonx 的 Docling 中。

分数和 H100 吞吐数据来自 IBM 的模型卡。它们与公开榜单不可直接比较。

可查看技术报告、2B 模型、500M 模型、Playground 和 Docling 代码仓库。你可以通过我们的 GPULeaderboard.com Chrome 扩展在此查看部署选项和规格。

需要在推广你的 GitHub 仓库、Hugging Face 页面、产品发布或网络研讨会等方面与我们合作?欢迎联系我们。

文章《认识 IBM Granite Docling V2:一个将页面转换为 DocLang 的开放 2B 与 500M 模型系列》最初发布于 MarkTechPost。

译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。

查看英文原文(Meet IBM Granite Docling V2: A Family of Open 2B and 500M Models that Converts Pages to DocLang)

IBM’s Docling team just released Granite Docling V2. Granite Docling V2 is a family of 2 open vision-language models, sized 2B and 500M. Each one turns a page image into a fully structured document in a single pass. The output is DocLang, an open markup that keeps element type, page position and reading order. For RAG and agent builders, that replaces a stitched OCR and layout stack with 1 small model. Both models ship under Apache 2.0. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

TL;DR

  • Size: 2B model has 2.48B parameters with its output head; the 500M has 0.54B. vLLM examples use a 32,768-token max length.
  • Runs on: 1 H100 80GB (IBM’s test rig), Apple silicon via MLX (8-bit about 4 GB), vLLM, Transformers.
  • Performance: the 2B scores 95.8 content accuracy across 20,502 pages, ahead of every model IBM tested.
  • Best: 98.2 on DocLayNet v1 and olmOCR-Bench (2B).

What is Granite Docling V2?

Granite Docling V2 succeeds SmolDocling and Granite-Docling 258M. It shipped with Granite Vision 5.0 4B and Granite Embedding 748M Vision R2. Granite Docling converts the page. Granite Vision extracts data from complex visuals. Granite Embedding Vision makes the result searchable.

How does DocLang differ from Markdown or HTML?

Markdown and HTML drop layout and element types. DocLang keeps each element’s type, position and reading order. It covers headings, nested lists, tables with full cell structure, formulas, code and captioned pictures. Each tag and location is a single token, so pages need fewer tokens and convert faster. DocLang converts losslessly to Markdown, HTML or JSON through docling-core.

What is inside the 2B and 500M models?

The 2B pairs a 414M SigLIP2 vision encoder with a 1,460M Granite 4.0 decoder. A 55M connector uses pixel shuffle and DeepStack. 3 multi-token prediction (MTP) heads add 208M, used only for speculative decoding.

The 500M builds on Granite 4.0 350M. It adds a 0.1M-parameter density router. The router scores each page and assigns 64 vision tokens per tile, or 256 for dense pages. On OmniDocBench, 428 of 1,649 pages (26%) took the dense route.

The research team describes 4 training stages. They are captioning alignment, document pre-training, supervised fine-tuning and RL with verifiable rewards.

How do you prompt Granite Docling V2?

The prompt <doclang> converts a full page. Bracketed tasks limit the output: <ocr>, <table>, <formula>, <picture>, <code>, <layout> and <detailed>. Tasks combine freely, and the model decodes nothing else. It also works on cropped single elements.

How does Granite Docling V2 perform on benchmarks?

IBM scores content as 1 minus normalized edit distance, pooled over 20,502 pages from 10 benchmarks. Results come from the Docling Benchmark Explorer.

  • Granite Docling V2 2B: 95.8
  • Granite Docling V2 500M: 94.0
  • dots.mocr (3B): 93.5
  • MinerU 2.5 Pro (1.2B): 93.0
  • Nemotron 3.5 Parse (0.6B): 91.6
  • Granite-Docling 258M: 76.7

Competitors still win some splits. MinerU 2.5 Pro leads OmniDocBench 1.6 at 97.2 versus 95.6 for the 2B. dots.mocr edges it on DocLayNet v1 (98.6 vs 98.2).

How fast is it, and what hardware does it need?

On 1 H100 80GB, the 2B converts 10.1 pages/s with MTP and 6.8 without. The 500M reaches 18.5 pages/s with MTP, faster than Granite-Docling 258M at 12.9. Nemotron 3.5 Parse remains faster at 20.4 pages/s.

Install paths cover transformers>=5.23.0, a vLLM nightly server, and MLX-VLM on Apple silicon. The MLX 8-bit build is about 4 GB versus about 6 GB in bfloat16. Faster “Flash” variants exist only in Docling for IBM watsonx.

Granite Docling V2 vs competitors

FeatureGranite Docling V2 2BGranite Docling V2 500Mdots.mocrMinerU2.5-ProNemotron 3.5 Parse
DeveloperIBMIBMrednote-hilabOpenDataLabNVIDIA
Parameters2.48B (2.68B with MTP)0.54B (0.58B with MTP)3B1.2B0.631B
LicenseApache 2.0Apache 2.0MITApache 2.0OpenMDW 1.1
OutputDocLangDocLangNot disclosedMarkdownText with classes and boxes
Overall score (IBM eval, 20,502 pages)95.894.093.593.091.6
OmniDocBench 1.6 (IBM eval)95.693.696.097.292.1
RealDocBench (IBM eval)91.387.578.881.578.0
Throughput10.1 pages/s, 1 H10018.5 pages/s, 1 H100Not disclosed2.12 pages/s, 1 A100 (vendor)20.4 pages/s, 1 H100 (IBM test)

Scores and H100 throughput come from IBM’s model card. They are not comparable to public leaderboards.

Key Takeaways

  • 2 Apache 2.0 models, 2B and 500M, convert a page to DocLang in one pass.
  • The 2B scores 95.8 across 20,502 pages, IBM’s best result.
  • The 500M hits 18.5 pages/s on 1 H100 using a density router.
  • MinerU 2.5 Pro and dots.mocr still win some individual benchmarks.
  • All scores rely on IBM’s self-revised ground truth.


Check out the Technical Report, 2B model, 500M model, Playground and Docling repo. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Meet IBM Granite Docling V2: A Family of Open 2B and 500M Models that Converts Pages to DocLang appeared first on MarkTechPost.

正文保留英文原文,标题与摘要由机器翻译。

本文由采集器自动同步

原文发布于 MarkTechPost(Meet IBM Granite Docling V2: A Family of Open 2B and 500M Models that Converts Pages to DocLang),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。

阅读原文 ↗