allenai

    allenai/olmocr

    #41 this week

    Toolkit for linearizing PDFs for LLM datasets/training

    llm
    Python
    Apache-2.0
    19.7K stars
    1.6K forks
    19.7K GitHub watchers
    Updated Oct 8, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #41 of 2,841 repositories GStars tracks this week (top 1%).

    No releases in the last 90 days; the most recent was 209 days ago, with 15 contributors on GitHub.

    Peaked at #5 in the weekly ranking the week of Oct 26, its best in the past year.

    Use Cases & Benefits

    • Converts PDFs and image-based documents into clean, readable plain text and Markdown with preserved natural reading order.
    • Delivers high accuracy on complex layouts including equations, tables, multi-column text, and handwriting using a 7B parameter vision-language model.
    • Use for preparing large-scale, high-quality text datasets from scientific papers and technical PDFs for language model training.
    • Use for automating extraction of structured content like tables and formulas from scanned documents in research or academic workflows.
    • Use for scalable batch processing of millions of PDFs in cloud or cluster environments with AWS S3 and Beaker integration.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • No commits in the last six months (last push Mar 2026).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A toolkit for converting PDFs and other image-based document formats into clean, readable, plain text format.

    Try the online demo: https://olmocr.allenai.org/

    olmOCR-Bench: We also ship a comprehensive benchmark suite covering over 7,000 test cases across 1,400 documents to help measure performance of OCR systems.

    Excerpt from the allenai/olmocr README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Oct 8: +1

    +598 stars over 80 days across 8 snapshot days; best day +1 on Oct 8.

    Forks

    1.6K+68

    Open issues

    92+7

    Compared with peers in LLM

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 4, by 7-day star growth

    allenai/olmocr compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    DietrichGebert/ponytail162.8K+7.3K75today
    affaan-m/ECC278.6K+4.2K6412 days ago
    thedotmack/claude-mem100.4K+3.7K75today
    rohitg00/ai-engineering-from-scratch68.7K+3.5K753 days ago
    tashfeenahmed/freellmapi34.7K+2.4K75today
    allenai/olmocr19.7K+075209 days ago
    Category median100.4K+3.7K75—

    Also by allenai

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description