Baidu’s Unlimited OCR 2 targets long-document parsing. Its own docs say the raw output isn’t Markdown; a separate script converts it.
baidu/Unlimited-OCR
Would you trade a flashy demo for reliable tables and page boundaries? @grok t.co
3 likes · 54 views
Unlimited OCR Works: Pioneering the OCR-3.0 Era, From Long- to Unlimited-Horizon Parsing (30k stars)
What it does
All text below is quoted directly from the project README.
>Unlimited OCR Works: Welcome the Era of One-shot Long-horizon Parsing.
What's New in 2:
- Sparse Reference Sliding Window Attention (SR-SWA): Compresses text-visual attention interactions from ultra-long sequences down to a fixed-size set of working references (e.g., 512 tokens). This bounds computational complexity, keeping per-step decoding latency and memory footprint nearly constant regardless of document length.
- From Long- to Unlimited-Horizon Parsing: Powered by SR-SWA, Unlimited-OCR 2 achieves true, unbounded document parsing within a finite context window, effectively eliminating quadratic attention scaling and memory bottlenecks as documents grow.
- Ultra-Long Document Parsing SOTA: Achieves state-of-the-art performance across both dozens-of-pages benchmarks (e.g., MPDocBench) and extreme hundred-page benchmarks (e.g., MarathonDocBench).
- Unlimited OCR 2 supports Transformers (native, for quick tests) and SGLang (recommended for serving).
>All pages of a document are parsed in one request, so the model can use cross-page context.
Repository
baidu/Unlimited-OCR
Repository stats
|Metric|Value|
|:-|:-|
|Stars|29,629|
|Forks|3.2k|
|Last release|None|
|Languages|Python 100%|
|Contributors|3|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|None|
|AI co-authored commits|None|
Main contributor
|Field|Value|
|:-|:-|
|Name|Youyang Yin|
|GitHub|@MurphyYin|
|Commits to this repo|16 (top contributor)|
|Bio|Research Intern at Baidu Inc.|
|Company / Location|Beihang University / Beijing, China|
|Followers|241|
──────────────────────────────
📌 How many great GitHub repos have you discovered and completely forgotten about?
Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week.
📬 Never lose track of great repos again. Subscribe free.
40 points
Unlimited OCR Works 2: Pioneering the OCR-3.0 Era: From Long- to Unlimited-Horizon Parsing
百度的光学字符识别 Unlimited OCR 模型升级版
- 保持每一步解码的延迟和内存占用几乎保持恒定,不被文档长度影响
- 无限上下文识别
- 到达同类模型的顶尖水平
GitHub: baidu/Unlimited-OCR
Hugging Face: huggingface.co
ModelScope: modelscope.cn
Baidu открыла исходники Unlimited-OCR 2 — модель читает
тысячи страниц за раз Нейросеть извлекает текст, таблицы и формулы из PDF и сканов. Главное отличие: не перечитывает весь документ заново, а обращается только к нужным фрагментам. Из-за этого...
baidu/Unlimited-OCR
🔗 :baidu/Unlimited-OCR
开源免费;先走 Hugging Face 在线演示试解析,本地部署需要显卡,别一上来就装环境。
2 likes · 2 reposts · 26 views
AI Repo: ruvnet/RuView | Git News AI
Git News AI — 2026-10-28
AI Repo: ruvnet/RuView
🎧 Listen + full transcript: limitless-ai-podcasts.s3.us-east-2.amazonaws.com
## Episode Summary
In this episode, we cover:
- **AI Repo: ruvnet/RuView** (GitHub Trending)
- [Read more](ruvnet/RuView)
- **AI Repo: baidu/Unlimited-OCR** (GitHub Trending)
- [Read more](baidu/Unlimited-OCR)
- **AI Repo: Leonxlnx/taste-skill** (GitHub Trending)
- [Read more](Leonxlnx/taste-skill)
- **AI Repo: p-e-w/heretic** (GitHub Trending)
- [Read more](p-e-w/heretic)
- **AI Repo: xiaolai/the-craft-of-selfteaching** (GitHub Trending)
- [Read more](xiaolai/the-craft-of-selfteaching)
---
*Sponsored by Ada, Ago Consulting, and Zen Semiconductor*
Brought to you by Ada, Ago Consulting & Zen Semiconductor.
#podcast #OpenSource #AI #DevTools #GitHub
2 views
Baidu's open 3B OCR model reads a whole book in one pass
Baidu's ERNIE team released Unlimited OCR 2 on Oct 27, 2026: an open-weights (MIT) document OCR model that parses very long documents, up to a full book, in a single request.
• 3.34B parameters (BF16), MIT license, weights on Hugging Face; runs with Transformers, SGLang or vLLM (needs trust_remote_code) (model card).
• New attention, SR-SWA: the model keeps a fixed set of working references (e.g. 512 tokens) instead of attending to every earlier page, so per-step cost stays constant (Baidu tech report).
• Baidu-reported: 7.0x per-step speedup over full attention and 5.6x over R-SWA (v1's approach) at hundred-page scale.
• Baidu-reported scores: MPDocBench 84.6 (+6.3), MarathonDocBench 77.06 (+43.3; Baidu's own new 100–300-page benchmark), OmniDocBench v1.6 94.02.
• Limitations (Baidu): weaker on global structure such as heading hierarchy; limited training-data diversity.
My take: 3B is small enough for a single own GPU (about 6.7 GB of BF16 weights, our math; Baidu tested on an A800-80GB), which makes local OCR for invoices and contracts realistic. But the long-document benchmark is Baidu's own; test it on your own PDFs.
Sources (as of Oct 27, 2026):
- Hugging Face model card: huggingface.co
- GitHub: baidu/Unlimited-OCR
- Tech report (Baidu ERNIE Team): github.com/baidu/Unlimited-OCR/blob/Unlimited-OCR…
- Baidu on X (Oct 27, 2026): x.com
No voiceover: text, graphics and music are original. Music synthesized in code for The AI Radar (no samples). Not registered in Content ID.
#AInews #OCR #Baidu #OpenSource #LLM
25 views
⭐ Unlimited OCR 2 ⭐
baidu/Unlimited-OCR
1. 중국 검색·AI 회사 바이두가 아주 긴 문서를 통째로 글자로 읽어주는 OCR 모델 2편을 오픈소스로 공개함
2. 문서가 길어질수록 계산량이 확 늘어나는 게 기존 문제인데, 새 방식(SR-SWA)은 참고하는 부분을 고정한 개수(예: 512토큰)로 줄여서 길이가 늘어도 속도와 메모리가 거의 일정함
3. 여러 쪽 이미지를 한 번에 넣으면 쪽 사이 맥락까지 보고 순서대로 읽어줌. 한 쪽짜리도 가능하고, 가볍게 써볼 땐 Transformers, 서버로 돌릴 땐 SGLang 추천
4. 수십 쪽짜리(MPDocBench)부터 100쪽 넘는 문서(MarathonDocBench)까지 최고 성능이라고 밝힘. 긴 문서용 새 평가 자료 MarathonDocBench도 같이 공개함
5. MIT 무료, 스타 2.9만 개. 모델 크기는 약 33억 개 파라미터이고 README 테스트는 NVIDIA A800 80GB, Python 3.10 기준
스캔한 책이나 백 쪽 넘는 보고서를 한 번에 글자로 바꾸고 싶은 사람한테 좋을 듯
━━━━━━━━━━
🇺🇸
1. Baidu open-sourced Unlimited OCR 2, an OCR model that reads very long documents in one go
2. Longer documents normally mean much more computation. The new method (SR-SWA) keeps the attention to a fixed-size set of references (e.g. 512 tokens), so speed and memory stay nearly constant as the document grows
3. Feed in multiple page images at once and it reads them in order using cross-page context. Single pages work too. Transformers for quick tests, SGLang recommended for serving
4. Baidu reports state-of-the-art results from dozens of pages (MPDocBench) to 100+ pages (MarathonDocBench). It also released MarathonDocBench, a new benchmark for ultra-long documents
5. Free under MIT, 29k stars. About 3.3B parameters. README tests were run on an NVIDIA A800 80GB with Python 3.10
Looks great for anyone who wants to turn scanned books or 100+ page reports into text in one shot
#AI #OCR #OpenSource #Baidu #DocumentAI
4 likes · 1 repost · 139 views
Otevřené OCR od Baidu přečte celou knihu najednou
Tým ERNIE z Baidu vydal 27. 10. 2026 Unlimited OCR 2: OCR model pro dokumenty s otevřenými váhami (licence MIT), který zpracuje velmi dlouhé dokumenty, až celou knihu, v jednom požadavku.
• 3,34 mld. parametrů (BF16), licence MIT, váhy na Hugging Face; běží v Transformers, SGLang nebo vLLM (vyžaduje trust_remote_code) (model card).
• Nová pozornost SR-SWA: model si drží pevnou sadu pracovních referencí (např. 512 tokenů) místo pozornosti ke všem předchozím stránkám, takže cena kroku zůstává stejná (technická zpráva Baidu).
• Podle Baidu: 7,0× rychlejší krok než plná pozornost a 5,6× než R-SWA (přístup verze 1) u dokumentů o stovkách stran.
• Skóre podle Baidu: MPDocBench 84,6 (+6,3), MarathonDocBench 77,06 (+43,3; nový vlastní benchmark Baidu, 100–300 stran), OmniDocBench v1.6 94,02.
• Omezení (Baidu): slabší u celkové struktury, třeba hierarchie nadpisů; omezená rozmanitost trénovacích dat.
Můj názor: 3B je dost malé pro vlastní GPU (asi 6,7 GB vah v BF16, náš výpočet; Baidu testovalo na A800 80 GB), takže lokální OCR faktur a smluv dává smysl. Benchmark dlouhých dokumentů je ale od Baidu, zkuste ho na vlastních PDF.
Zdroje (stav k 27. 10. 2026):
- Model card na Hugging Face: huggingface.co
- GitHub: baidu/Unlimited-OCR
- Technická zpráva (Baidu ERNIE Team): github.com/baidu/Unlimited-OCR/blob/Unlimited-OCR…
- Baidu na X (27. 10. 2026): x.com
Bez hlasu: text, grafika i hudba jsou původní. Hudba syntetizovaná v kódu pro The AI Radar.
#umelainteligence #AInovinky #Baidu #OCR #opensource
17 views
Support for Baidu Unlimited OCR 2 is cooking on mlx-vlm! I see PR #2601
Gonna test now DGX Spark with official repo vs mlx-vlm on M5 Max! Keep you posted!
Official repo: baidu/Unlimited-OCR
mlx-vlm PR: mlx-vlm#2601 t.co
12 likes · 1 repost · 1,616 views
Mentions
Baidu’s Unlimited OCR 2 targets long-document parsing. Its own docs say the raw output isn’t Markdown; a separate script converts it. baidu/Unlimited-OCR Would you trade a flashy demo for reliable tables and page boundaries? @grok t.co
Unlimited OCR Works: Pioneering the OCR-3.0 Era, From Long- to Unlimited-Horizon Parsing (30k stars) What it does All text below is quoted directly from the project README. >Unlimited OCR Works: Welcome the Era of One-shot Long-horizon Parsing. What's New in 2: - Sparse Reference Sliding Window Attention (SR-SWA): Compresses text-visual attention interactions from ultra-long sequences down to a fixed-size set of working references (e.g., 512 tokens). This bounds computational complexity, keeping per-step decoding latency and memory footprint nearly constant regardless of document length. - From Long- to Unlimited-Horizon Parsing: Powered by SR-SWA, Unlimited-OCR 2 achieves true, unbounded document parsing within a finite context window, effectively eliminating quadratic attention scaling and memory bottlenecks as documents grow. - Ultra-Long Document Parsing SOTA: Achieves state-of-the-art performance across both dozens-of-pages benchmarks (e.g., MPDocBench) and extreme hundred-page benchmarks (e.g., MarathonDocBench). - Unlimited OCR 2 supports Transformers (native, for quick tests) and SGLang (recommended for serving). >All pages of a document are parsed in one request, so the model can use cross-page context. Repository baidu/Unlimited-OCR Repository stats |Metric|Value| |:-|:-| |Stars|29,629| |Forks|3.2k| |Last release|None| |Languages|Python 100%| |Contributors|3| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|None| |AI co-authored commits|None| Main contributor |Field|Value| |:-|:-| |Name|Youyang Yin| |GitHub|@MurphyYin| |Commits to this repo|16 (top contributor)| |Bio|Research Intern at Baidu Inc.| |Company / Location|Beihang University / Beijing, China| |Followers|241| ────────────────────────────── 📌 How many great GitHub repos have you discovered and completely forgotten about? Don't let another useful tool disappear into your Reddit feed. Get the community's best repos, organized by category, plus key takeaways from real developer discussions, delivered to your inbox twice a week. 📬 Never lose track of great repos again. Subscribe free.
Unlimited OCR Works 2: Pioneering the OCR-3.0 Era: From Long- to Unlimited-Horizon Parsing 百度的光学字符识别 Unlimited OCR 模型升级版 - 保持每一步解码的延迟和内存占用几乎保持恒定,不被文档长度影响 - 无限上下文识别 - 到达同类模型的顶尖水平 GitHub: baidu/Unlimited-OCR Hugging Face: huggingface.co ModelScope: modelscope.cn
Baidu открыла исходники Unlimited-OCR 2 — модель читает тысячи страниц за раз Нейросеть извлекает текст, таблицы и формулы из PDF и сканов. Главное отличие: не перечитывает весь документ заново, а обращается только к нужным фрагментам. Из-за этого... baidu/Unlimited-OCR
🔗 :baidu/Unlimited-OCR 开源免费;先走 Hugging Face 在线演示试解析,本地部署需要显卡,别一上来就装环境。
AI Repo: ruvnet/RuView | Git News AI Git News AI — 2026-10-28 AI Repo: ruvnet/RuView 🎧 Listen + full transcript: limitless-ai-podcasts.s3.us-east-2.amazonaws.com ## Episode Summary In this episode, we cover: - **AI Repo: ruvnet/RuView** (GitHub Trending) - [Read more](ruvnet/RuView) - **AI Repo: baidu/Unlimited-OCR** (GitHub Trending) - [Read more](baidu/Unlimited-OCR) - **AI Repo: Leonxlnx/taste-skill** (GitHub Trending) - [Read more](Leonxlnx/taste-skill) - **AI Repo: p-e-w/heretic** (GitHub Trending) - [Read more](p-e-w/heretic) - **AI Repo: xiaolai/the-craft-of-selfteaching** (GitHub Trending) - [Read more](xiaolai/the-craft-of-selfteaching) --- *Sponsored by Ada, Ago Consulting, and Zen Semiconductor* Brought to you by Ada, Ago Consulting & Zen Semiconductor. #podcast #OpenSource #AI #DevTools #GitHub
Baidu's open 3B OCR model reads a whole book in one pass Baidu's ERNIE team released Unlimited OCR 2 on Oct 27, 2026: an open-weights (MIT) document OCR model that parses very long documents, up to a full book, in a single request. • 3.34B parameters (BF16), MIT license, weights on Hugging Face; runs with Transformers, SGLang or vLLM (needs trust_remote_code) (model card). • New attention, SR-SWA: the model keeps a fixed set of working references (e.g. 512 tokens) instead of attending to every earlier page, so per-step cost stays constant (Baidu tech report). • Baidu-reported: 7.0x per-step speedup over full attention and 5.6x over R-SWA (v1's approach) at hundred-page scale. • Baidu-reported scores: MPDocBench 84.6 (+6.3), MarathonDocBench 77.06 (+43.3; Baidu's own new 100–300-page benchmark), OmniDocBench v1.6 94.02. • Limitations (Baidu): weaker on global structure such as heading hierarchy; limited training-data diversity. My take: 3B is small enough for a single own GPU (about 6.7 GB of BF16 weights, our math; Baidu tested on an A800-80GB), which makes local OCR for invoices and contracts realistic. But the long-document benchmark is Baidu's own; test it on your own PDFs. Sources (as of Oct 27, 2026): - Hugging Face model card: huggingface.co - GitHub: baidu/Unlimited-OCR - Tech report (Baidu ERNIE Team): github.com/baidu/Unlimited-OCR/blob/Unlimited-OCR… - Baidu on X (Oct 27, 2026): x.com No voiceover: text, graphics and music are original. Music synthesized in code for The AI Radar (no samples). Not registered in Content ID. #AInews #OCR #Baidu #OpenSource #LLM
⭐ Unlimited OCR 2 ⭐ baidu/Unlimited-OCR 1. 중국 검색·AI 회사 바이두가 아주 긴 문서를 통째로 글자로 읽어주는 OCR 모델 2편을 오픈소스로 공개함 2. 문서가 길어질수록 계산량이 확 늘어나는 게 기존 문제인데, 새 방식(SR-SWA)은 참고하는 부분을 고정한 개수(예: 512토큰)로 줄여서 길이가 늘어도 속도와 메모리가 거의 일정함 3. 여러 쪽 이미지를 한 번에 넣으면 쪽 사이 맥락까지 보고 순서대로 읽어줌. 한 쪽짜리도 가능하고, 가볍게 써볼 땐 Transformers, 서버로 돌릴 땐 SGLang 추천 4. 수십 쪽짜리(MPDocBench)부터 100쪽 넘는 문서(MarathonDocBench)까지 최고 성능이라고 밝힘. 긴 문서용 새 평가 자료 MarathonDocBench도 같이 공개함 5. MIT 무료, 스타 2.9만 개. 모델 크기는 약 33억 개 파라미터이고 README 테스트는 NVIDIA A800 80GB, Python 3.10 기준 스캔한 책이나 백 쪽 넘는 보고서를 한 번에 글자로 바꾸고 싶은 사람한테 좋을 듯 ━━━━━━━━━━ 🇺🇸 1. Baidu open-sourced Unlimited OCR 2, an OCR model that reads very long documents in one go 2. Longer documents normally mean much more computation. The new method (SR-SWA) keeps the attention to a fixed-size set of references (e.g. 512 tokens), so speed and memory stay nearly constant as the document grows 3. Feed in multiple page images at once and it reads them in order using cross-page context. Single pages work too. Transformers for quick tests, SGLang recommended for serving 4. Baidu reports state-of-the-art results from dozens of pages (MPDocBench) to 100+ pages (MarathonDocBench). It also released MarathonDocBench, a new benchmark for ultra-long documents 5. Free under MIT, 29k stars. About 3.3B parameters. README tests were run on an NVIDIA A800 80GB with Python 3.10 Looks great for anyone who wants to turn scanned books or 100+ page reports into text in one shot #AI #OCR #OpenSource #Baidu #DocumentAI
Otevřené OCR od Baidu přečte celou knihu najednou Tým ERNIE z Baidu vydal 27. 10. 2026 Unlimited OCR 2: OCR model pro dokumenty s otevřenými váhami (licence MIT), který zpracuje velmi dlouhé dokumenty, až celou knihu, v jednom požadavku. • 3,34 mld. parametrů (BF16), licence MIT, váhy na Hugging Face; běží v Transformers, SGLang nebo vLLM (vyžaduje trust_remote_code) (model card). • Nová pozornost SR-SWA: model si drží pevnou sadu pracovních referencí (např. 512 tokenů) místo pozornosti ke všem předchozím stránkám, takže cena kroku zůstává stejná (technická zpráva Baidu). • Podle Baidu: 7,0× rychlejší krok než plná pozornost a 5,6× než R-SWA (přístup verze 1) u dokumentů o stovkách stran. • Skóre podle Baidu: MPDocBench 84,6 (+6,3), MarathonDocBench 77,06 (+43,3; nový vlastní benchmark Baidu, 100–300 stran), OmniDocBench v1.6 94,02. • Omezení (Baidu): slabší u celkové struktury, třeba hierarchie nadpisů; omezená rozmanitost trénovacích dat. Můj názor: 3B je dost malé pro vlastní GPU (asi 6,7 GB vah v BF16, náš výpočet; Baidu testovalo na A800 80 GB), takže lokální OCR faktur a smluv dává smysl. Benchmark dlouhých dokumentů je ale od Baidu, zkuste ho na vlastních PDF. Zdroje (stav k 27. 10. 2026): - Model card na Hugging Face: huggingface.co - GitHub: baidu/Unlimited-OCR - Technická zpráva (Baidu ERNIE Team): github.com/baidu/Unlimited-OCR/blob/Unlimited-OCR… - Baidu na X (27. 10. 2026): x.com Bez hlasu: text, grafika i hudba jsou původní. Hudba syntetizovaná v kódu pro The AI Radar. #umelainteligence #AInovinky #Baidu #OCR #opensource
Support for Baidu Unlimited OCR 2 is cooking on mlx-vlm! I see PR #2601 Gonna test now DGX Spark with official repo vs mlx-vlm on M5 Max! Keep you posted! Official repo: baidu/Unlimited-OCR mlx-vlm PR: mlx-vlm#2601 t.co