olmocr
Toolkit for linearizing PDFs for LLM datasets/training
Report bugs or suggest features for olmocr. File structured GitHub Issues in the allenai/olmocr repository using provided templates. Get your issues resolved faster.
Olmocr License: Apache 2.0 Terms and Usage Rights ExplainedUnderstand the Olmocr License Apache 2.0 Use this powerful OCR tool for commercial projects. Learn about modification, redistribution, and usage rights for allenai/olmocr.
How to Optimize olmOCR for Speed: 7 Configuration Changes That Double ThroughputLearn how to optimize olmOCR for speed with 7 configuration changes. Double throughput by reducing resolution, increasing concurrency, using 4-bit quantization, and switching to local storage.
Example Usage of olmOCR: CLI and Python API Quick‑Start GuideDiscover olmOCR example usage with our quick-start guide. Explore CLI and Python API examples for local GPU, remote inference, Docker, and async PDF processing.
How to Troubleshoot Common olmOCR Errors: A Complete Diagnostic GuideTroubleshoot common olmOCR errors related to invalid data, network issues, or worker locks. Learn to diagnose and resolve these problems with this complete guide.
What Input Formats Does olmocr Support? Complete Guide to Document ProcessingLearn the extensive input formats olmocr supports for document processing, including PDFs, images, and compressed files. Get the complete guide here.
How to Run the olmOCR OCR Process: Complete Guide to PDF-to-Markdown ConversionLearn how to run the olmOCR OCR process and convert PDFs to Markdown and JSONL. Follow this guide for seamless document conversion using the allenai/olmOCR-2-7B-1025-FP8 model.
How to Install olmocr: Complete Setup Guide for Local and Remote InferenceInstall olmocr for local or remote inference with pip. Choose lightweight, GPU, Beaker, or benchmark versions for a custom setup. Get started now.
Purpose of the olmocr Repository: Technical Architecture and PDF-to-Markdown PipelineDiscover the olmocr repository, an open-source toolkit that converts PDFs and images to structured Markdown text. Learn about its technical architecture and efficient PDF-to-Markdown pipeline.
System Requirements for olmOCR: Hardware, Software, and Installation GuideDiscover olmOCR system requirements for hardware, software, and installation. Get optimal performance with Python 3.11+, Linux dependencies, and NVIDIA GPU or Docker.
How to Uninstall olmocr: Complete Removal Guide for the Python Package and DependenciesEasily uninstall olmocr and its dependencies to reclaim disk space. Learn the complete removal guide for the Python package and associated extras.
How to Run olmOCR from the Command Line: A Complete Guide to the allenai/olmocr CLILearn to run olmOCR from the command line with this guide. Process PDFs locally or remotely using the allenai/olmocr CLI for efficient OCR.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →