<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Olmocr on Text Matrix</title><link>https://txtmix.com/tags/olmocr/</link><description>Recent content in Olmocr on Text Matrix</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 21 Jul 2026 20:06:14 +0800</lastBuildDate><atom:link href="https://txtmix.com/tags/olmocr/index.xml" rel="self" type="application/rss+xml"/><item><title>allenai/olmocr 深度拆解：把 PDF 线性化为 LLM 训练 token 的 7B VLM 流水线</title><link>https://txtmix.com/posts/tech/allenai-olmocr-pdf-ocr-vlm-pipeline-guide/</link><pubDate>Wed, 01 Jul 2026 21:03:00 +0800</pubDate><guid>https://txtmix.com/posts/tech/allenai-olmocr-pdf-ocr-vlm-pipeline-guide/</guid><description>&lt;h1 id="allenaiolmocr-深度拆解把-pdf-线性化为-llm-训练-token-的-7b-vlm-流水线">allenai/olmocr 深度拆解：把 PDF 线性化为 LLM 训练 token 的 7B VLM 流水线&lt;/h1>
&lt;h2 id="读完能回答什么">读完能回答什么&lt;/h2>
&lt;ul>
&lt;li>olmOCR 解决的具体问题：把&amp;quot;任意 PDF / 扫描件&amp;quot;线性化成&amp;quot;自然阅读顺序的纯文本/Markdown&amp;quot;，为 LLM 训练语料服务&lt;/li>
&lt;li>一张图看清 7B VLM 是怎么&amp;quot;看 PDF&amp;quot;——prompt 结构、YAML 引导解码、anchor text、page rendering&lt;/li>
&lt;li>olmOCR-Bench（1400 篇文档 / 7000+ 测试用例）的设计思路：跨格式、跨版面、跨退化程度的细粒度评估&lt;/li>
&lt;li>本地 GPU、远程 vLLM、Beaker 集群、S3 多节点队列——4 种部署方式怎么选&lt;/li>
&lt;li>v0.4.0 引入的 GRPO RL 训练与&amp;quot;单元测试奖励&amp;quot;是什么意思&lt;/li>
&lt;li>在 LLM 训练数据流水线中，olmOCR 与 Marker / MinerU / Mistral OCR / Chandra OCR 各自的角色&lt;/li>
&lt;/ul>
&lt;h2 id="目录">目录&lt;/h2>
&lt;ul>
&lt;li>&lt;a href="#%e4%b8%80%e4%b8%ba%e4%bb%80%e4%b9%88%e9%9c%80%e8%a6%81-olmocr" rel="">一、为什么需要 olmOCR&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e4%ba%8c%e5%ae%9a%e4%bd%8d%e4%b8%8e%e6%a0%b8%e5%bf%83%e6%95%b0%e5%ad%97" rel="">二、定位与核心数字&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e4%b8%89%e6%95%b4%e4%bd%93%e6%9e%b6%e6%9e%84%e5%9b%9b%e5%b1%82%e6%b5%81%e6%b0%b4%e7%ba%bf" rel="">三、整体架构：四层流水线&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%9b%9b%e6%a0%b8%e5%bf%83%e6%9c%ba%e5%88%b6vlm-%e6%80%8e%e4%b9%88%e8%af%bb%e4%b8%80%e9%a1%b5-pdf" rel="">四、核心机制：VLM 怎么&amp;quot;读&amp;quot;一页 PDF&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e4%ba%94olmocr-bench%e8%87%aa%e5%bb%ba%e8%af%84%e4%bc%b0%e4%bd%93%e7%b3%bb%e4%b8%ba%e4%bb%80%e4%b9%88%e9%87%8d%e8%a6%81" rel="">五、olmOCR-Bench：自建评估体系为什么重要&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%85%ad%e8%ae%ad%e7%bb%83%e6%b5%81%e6%b0%b4%e7%ba%bfsft--grpo--%e5%90%88%e6%88%90%e6%95%b0%e6%8d%ae" rel="">六、训练流水线：SFT + GRPO + 合成数据&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e4%b8%83%e9%83%a8%e7%bd%b2%e5%ae%9e%e8%b7%b54-%e7%a7%8d%e8%b7%af%e5%be%84" rel="">七、部署实践：4 种路径&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%85%ab%e5%85%b8%e5%9e%8b%e9%97%ae%e9%a2%98%e4%b8%8e%e8%be%b9%e7%95%8c" rel="">八、典型问题与边界&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e4%b9%9d%e9%80%82%e7%94%a8%e4%ba%ba%e7%be%a4%e4%b8%8e%e9%87%87%e7%94%a8%e5%bb%ba%e8%ae%ae" rel="">九、适用人群与采用建议&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%8d%81%e6%80%bb%e7%bb%93" rel="">十、总结&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e7%bb%83%e4%b9%a0%e9%a2%98" rel="">练习题&lt;/a>&lt;/li>
&lt;li>&lt;a href="#%e5%b8%b8%e8%a7%81%e9%97%ae%e9%a2%98-faq" rel="">常见问题 FAQ&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="一为什么需要-olmocr">一、为什么需要 olmOCR&lt;/h2>
&lt;p>如果做过 LLM 预训练或 SFT 数据准备，你大概率被 PDF 卡过：&lt;/p></description></item></channel></rss>