• Documents and OCR
  • No longer trending

Unlimited OCR 2

by Baidubaidu/Unlimited-OCR-2

Parses ultra-long multilingual documents from images into text for researchers and developers.

Released on 26 October 2026 · first spotted here on 31 October 2026

This tool is not trending anymore, the page stays available.

At a glance

Use
Documents and OCR
Level
No code
Access
Try online, On my computer
Commercial use
Commercial use allowedLicence: MIT
Hardware (estimate)
Light: a laptop is enoughEstimate from the model size (3.3B parameters).
Type
Model

Why it's getting attention

It uses Sparse Reference Sliding Window Attention to achieve unbounded document parsing without memory bottlenecks.

What it can do

  • Reads documents (OCR)

What it's for

  • Perform OCR on single pages using dynamic tiling.
  • Parse multi-page documents in one request to utilize cross-page context.
  • Analyze ultra-long documents with hundreds of pages.

Who it's for

Users needing to extract text from extremely long or multi-page documents across multiple languages.

How to try it

  1. Install the transformers library and required dependencies.
  2. Load the model and tokenizer from the baidu/Unlimited-OCR-2 repository.
  3. Use the infer or infer_multi methods to process images.
Official command, copied as is from the publisher's page.
pip install torch==2.13.0 torchvision pillow transformers==4.52.1 huggingface-hub==0.36.0 \
  tokenizers==0.21.4 addict==2.4.0 einops==0.8.2 easydict==1.13

Strengths

  • Handles unbounded document parsing with constant memory footprint.
  • Avoids quadratic attention scaling via SR-SWA technology.
  • State-of-the-art performance on extreme long-document benchmarks.

Limits and requirements

  • Requires custom_code execution during model loading.

Seen in

Written with the help of AI from the tool's official page, then checked: every name and number must appear there. Page updated on 10 November 2026.

All tools to watch