> ## Content Index
> Fetch the complete content index at: https://globalfeed.ai/llms.txt
> Use this file to discover other available public pages before exploring further.

# IBM 小模型一次读完整页：Granite Docling V2 如何训练？
- URL: https://globalfeed.ai/zh/ibm-xiao-mo-xing-yi-ci-du-wan-zheng-ye-granite-docling-v2-ru-he-xun-lian/
- Published: 2026-12-02T19:25:35.000Z
- Updated: 2026-12-02T19:25:35.000Z
- Description: Granite Docling V2 开放 500M 和 2B 两个版本，IBM 测试得分由 76.7 升至 95.8。
- Author: GlobalFeed Editor
- Tags: 开源模型, IBM, dil-zh, elle

IBM Docling 团队发布 [Granite Docling V2](https://huggingface.co/blog/ibm-granite/granite-docling-v2-compact-vision-language-models?ref=globalfeed.ai)：一次读取页面图像，直接输出带位置和阅读顺序的标题、段落、表格、公式和代码。提供约 5 亿和 20 亿参数两个版本，均以 Apache 2.0 许可在 Hugging Face 开放。按 IBM 技术报告，旧版 258M 得分 76.7，新版 500M 为 94，2B 为 95.8；500M 在单张 H100 上每秒处理 18.49 页。

## 模型如何训练

训练数据约 7600 万页、50 个数据集、580 亿 token，以 FinePDFs 和 arXiv 为主，并加入报纸、数学、复杂表格和手写体等合成页面。训练分四个阶段：图文对齐、文档预训练（逐步扩展到 32 个图块和 32K 上下文）、在 150 万页上的监督微调，以及使用 37 个奖励函数的 GRPO 强化学习。报告还公开了失败尝试，例如缺少特定修正时强化学习约 250 步后崩溃。500M 版本内置"密度路由器"，为密集页面分配更多视觉 token。

## 如何试用

通过 Transformers 安装，用 <doclang> 提示读取页面，再用 Docling 转为 Markdown、HTML 或 JSON。Apple 芯片可用 MLX 版本。

来源： [IBM 博客](https://huggingface.co/blog/ibm-granite/granite-docling-v2-compact-vision-language-models?ref=globalfeed.ai), [技术报告](https://arxiv.org/abs/2611.37727?ref=globalfeed.ai), [500M 模型卡](https://huggingface.co/ibm-granite/granite-docling-v2-500m?ref=globalfeed.ai)