{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "baidu-unlimited-ocr--benchmark-ocr-on-marathondocbench",
 "repo": "baidu/Unlimited-OCR",
 "repo_url": "https://github.com/baidu/Unlimited-OCR",
 "repo_slug": "baidu-unlimited-ocr",
 "title": "Compare your OCR pipeline on the MarathonDocBench ultra-long benchmark",
 "page_title": "How to compare your OCR pipeline on the MarathonDocBench ultra-long benchmark with Unlimited OCR",
 "summary": "Use Baidu's new MarathonDocBench dataset to test how your current OCR handles very long documents.",
 "who": "A team choosing an OCR model for long reports, contracts or books.",
 "problem": "Most OCR benchmarks use single pages, so they hide how models fail on long documents.",
 "outcome": "A side by side comparison of your current OCR and Unlimited OCR 2 on long documents.",
 "steps": [
  "Get MarathonDocBench from Hugging Face (baidu/MarathonDocBench)",
  "Run your current OCR on a sample of its documents",
  "Run Unlimited OCR 2 with infer_multi on the same documents",
  "Compare outputs, and try the Hugging Face Spaces demo for quick checks"
 ],
 "agent_prompt": "Download baidu/MarathonDocBench, pick 5 long documents, run both <my OCR tool> and baidu/Unlimited-OCR-2 (infer_multi) on them, and write a comparison of where each fails.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Advanced",
 "time": "half a day",
 "basis": "readme",
 "caveat": "",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "An NVIDIA GPU (tested on an A800 80GB) with CUDA",
  "Python 3.10 with torch 2.13.0 and transformers 4.52.1, or uv for the SGLang setup",
  "PyMuPDF to convert PDFs to page images"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/baidu-unlimited-ocr/benchmark-ocr-on-marathondocbench/",
 "md": "https://dedupedai.com/use-cases/baidu-unlimited-ocr/benchmark-ocr-on-marathondocbench/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/baidu-unlimited-ocr--benchmark-ocr-on-marathondocbench.json",
 "api_version": "v1"
}
