Models › Unlimited family

baidu MIT out 35 days ago

Unlimited-OCR-2 is a 3.34B-parameter MIT-licensed model from baidu, on Hugging Face since 2026-10-26. No hosted provider serves it as of this check. The weights take about 2.0 GB at 4-bit, which fits a 16 GB card, and 8 GB at BF16 (estimate, weights only). 640,043 downloads in the last 30 days; 23 derivative models on Hugging Face.

As of 2026-11-30Sources: Hugging Face repo, hardware-fit method

3.34B parameters, images and text in, text out.

Verified 2026-11-30 07:14 UTC Rank #199 in LLMs · score 86.6 method v1 Sources 3 Downloads 30d 640k · #147 of 688 tracked

Can I use it?MITPermissivelicence file
Do people use it?640kdownloads, 30 days#147 of 688 we track · top 21%+32 likes, downloads +1% this week747 likesHugging Face

Worth reading

Picked by rule from 11 tracked pieces: the lab's own post, the most shared, a field report, the latest.

Most discussed · 496 HN pts

Unlimited OCR: One-shot long-horizon parsing

Unlimited OCR 2 is officially available on Baidu AI Cloud as of 2026/11/16, enabling unbounded document parsing via Sparse Reference Sliding Window Attention.

  • A smaller page window lowers peak memory but hurts cross-page merging because blocks continuing across boundaries lose context.
  • The built-in default SAM attention bias of 512 MB can cause out-of-memory errors, whereas setting it to 64 reduces the peak allocation.
github.com 2026-06-23 496 HN pts · 110 comments 1.3k words about the Unlimited family family

11 best of 11 tracked

The 2 picks above, plus these 9. Top is the radar's score: discussion, source authority and the lab's own posts, fading with age.

  1. PaperUnlimiformer: Long-Range Transformers with Unlimited Length Inputarxiv.org · 2023-05-05 · 335 HN pts
  2. PaperUnlimited OCR Worksarxiv.org · 2026-06-23 · 3 HN pts
  3. PaperUnlimited OCR Works Welcome the Era of One-shot Long- ...arxiv.org · 2026-06-22
  4. ArticleUnlimited-OCR-2 vs Datalab: Cross-Page Parsing, Chandra, Surya and Our OCR Tests | Fouad Salkinifouadsalkini.com · 2026-10-29
  5. ArticleUnlimited-OCR 2 on a 16 GB GPU: it reads as well as Chandra 2, but it is not unlimited - DEV Communitydev.to · 2026-10-28
  6. ArticleUnlimited OCR 2 Benchmarks: Where Baidu's Model Wins and Fails | MindStudiomindstudio.ai · 2026-10-28
  7. ArticleUnlimited-OCR-2 Makes Hundred-Page Parsing a Memory-Management Problem | LiteBiteslitebites.github.io · 2026-10-27
  8. ArticleUnlimited OCR Works 2media.githubusercontent.com · undated
  9. ArticleUnlimited-OCR-2: the 512-token budget that reads 416ai.thesatyajit.com · undated

Where it's used

Hugging Face does not say who downloads a model or with what. These are the proxies: API providers listing it, quantized builds, fine-tunes/adapters/merges, and Spaces that load it.

No API provider serves it, so its downloads are people running it themselves: 17 quantized builds.

  • As a service0no API provider listed
  • On own hardware17quantized builds
  • Built on66 fine-tunes · 0 adapters · 0 merges
  • In apps0Hugging Face Spaces

Will it fit?

Weights only, an estimate: leave room for the KV cache. Method

Fits a 16 GB card at INT4

About 2.0 GB at INT4, 4.0 GB at FP8, 8.0 GB at BF16: weights only, so leave room for the KV cache. Every expert must be resident, so total parameters count.

16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 2.0 GB of weights (estimate; KV cache and activations extra)INT42.0 GBFP8: about 4.0 GB of weights (estimate; KV cache and activations extra)FP84.0 GBBF16: about 8.0 GB of weights (estimate; KV cache and activations extra)BF168.0 GB
16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 2.0 GB of weights (estimate; KV cache and activations extra)INT42.0 GBFP8: about 4.0 GB of weights (estimate; KV cache and activations extra)FP84.0 GBBF16: about 8.0 GB of weights (estimate; KV cache and activations extra)BF168.0 GB

Estimate params × bytes per param × 1.2 · how we estimate

The story so far

Weights, every dated article, and repo commits on one rail.

Most coverage came in the first two weeks

Teal is the weights (2026-10-26), amber triangles are 9 dated articles (each links to it).

What people built on it

23 derivatives on the Hub. Which build to run, by runtime: the most downloaded in each class.

23 derivatives on the Hub, most of them quantized

From the Hugging Face model tree; quantized builds in teal, fine-tunes, merges and adapters in greys.

17 quantized (Hugging Face model tree)6 fine-tunes (Hugging Face model tree)17 quantized6 fine-tunes
17 quantized (Hugging Face model tree)6 fine-tunes (Hugging Face model tree)17 quantized6 fine-tunes

All variants →

Reference

Everything else, folded: the full tables, every source.

Use-case evidence

5 use cases

What it is good at 5 use cases

Labels are evidence, not verdicts: measured a third-party leaderboard row for this model; author-reported a number the model author published in the card or eval files; structural a deterministic signal from the name, config or chat template, or a decision-model estimate. Each chip links to its source. All use cases.

Facts

16 fields

Listed in LLMs · MoE

Facts

Pipeline tagimage-text-to-text
Librarytransformers
ArchitecturesUnlimitedOCRForCausalLM
Model typeunlimited-ocr
Params by dtypeBF16: 3,343,978,240 · I64: 257
Size bandM
MoEyes
Experts per token6
PapersarXiv:2610.39308, arXiv:2606.23050
LicenseMIT (mit)
Hub snapshot2026-11-30

Hardware fit

3 estimates

Hardware fit ESTIMATE

Weights-only memory for Unlimited-OCR-2: params × bytes/param × 1.2 overhead. KV cache and activations are extra. How this is computed.

BF16 (2 bytes/param)8.0 GB · Single GPU (<24 GB)
FP8 (1 byte/param)4.0 GB · Single GPU (<24 GB)
INT4 (0.5 bytes/param)2.0 GB · Edge (<4 GB)

Weights only (params × bytes/param × 1.2 overhead); KV cache and activations extra. MoE: all experts must be resident, so total parameters count.

All variants

23 variants

Lineage

Original model Family: baidu/Unlimited 23 derivatives on the Hub

quantized: 17finetune: 6

Top variants (23 shown, ranked by downloads)

Relation
Quant
Size
23 rows
Variant Relation Quant Params Band License Author Likes Downloads
AtomicChat/Unlimited-OCR-2-GGUF quantized GGUF — — mit AtomicChat 25 19.4k
RX5950XT/Unlimited-OCR-2-GGUF quantized GGUF — — mit RX5950XT 11 11.9k
Soulfate24/Unlimited-OCR-2-Paretrix-GGUF quantized GGUF — — mit Soulfate24 0 3.7k
mlx-community/Unlimited-OCR-2-8bit quantized -8bit 3.34B M mit mlx-community 7 1.9k
mlx-community/Unlimited-OCR-2-bf16 finetune -bf16 3.34B M mit mlx-community 7 1.5k
cstr/Unlimited-OCR-2-GGUF quantized GGUF — — mit cstr 2 1.1k
p4ulbr4dl3y/unlimited-ocr-2-ru-gguf quantized gguf — — mit p4ulbr4dl3y 3 1k
cicaba/Unlimited-OCR-2-GGUF quantized GGUF — — mit cicaba 0 978
infosave/Unlimited-OCR-2-cmf quantized — — — mit infosave 1 914
mlx-community/Unlimited-OCR-2-4bit quantized -4bit 3.34B M mit mlx-community 1 802
litert-community/Unlimited-OCR-2 quantized — — — mit litert-community 1 785
mlx-community/Unlimited-OCR-2-6bit quantized — 3.34B M mit mlx-community 2 493
AtomicChat/Unlimited-OCR-2-W4A16 quantized -W4A16 3.34B M mit AtomicChat 0 308
groxaxo/Unlimited-OCR-2-MLX8-Selective quantized — 3.34B M mit groxaxo 0 210
yujiepan/unlimited-ocr-2-tiny-random finetune — 9.04M S — yujiepan 0 148
playstonex/Unlimited-OCR-2-4bit-mlx finetune -4bit 612M S mit playstonex 0 129
AutomatosX/AX-Unlimited-OCR-2-CUDA-AXQ-NVFP4-W4A16 quantized NVFP4 3.34B M mit AutomatosX 1 105
AutomatosX/AX-Unlimited-OCR-2-AXQ-MXFP4 quantized MXFP4 3.34B M mit AutomatosX 0 90
AutomatosX/AX-Unlimited-OCR-2-AXQ-MXFP8 quantized — 3.34B M mit AutomatosX 0 90
tiny-random/unlimited-ocr-2 finetune — 9.04M S — tiny-random 0 84
aungthuhein-dev/Unlimited-OCR-2-bnb-nf4 quantized -bnb 3.34B M mit aungthuhein-dev 0 62
ABrunsch/Unlimited-OCR-2-repacked finetune — 3.34B M mit ABrunsch 0 30
DevQuasar/baidu.Unlimited-OCR-2-GGUF finetune GGUF — — — DevQuasar 0 0

Articles and coverage

11 pieces

Ranked by source signals (HN, Lobsters, authority domains, official posts) and recency. Summaries are generated from a stored copy of the article text; every sentence cites a span of that text, and nothing is shown that failed the citation check.

Analysis10

github.com2026-06-23authorityHN front pageabout the Unlimited familyHN 496 pts · 110 comments1,310 words
Unlimited OCR 2 is officially available on Baidu AI Cloud as of 2026/11/16, enabling unbounded document parsing via Sparse Reference Sliding Window Attention. The mechanism compresses text-visual attention interactions down to a fixed-size set of working references, such as 512 tokens, to bound computational complexity. Engineers can test the model on an NVIDIA A800-80GB using torch==2.13.0 and transformers==4.52.1.written, reviewed, cited
  • A smaller page window lowers peak memory but hurts cross-page merging because blocks continuing across boundaries lose context.
  • The built-in default SAM attention bias of 512 MB can cause out-of-memory errors, whereas setting it to 64 reduces the peak allocation.
arxiv.org2026-10-29authorityabout the Unlimited family407 words
Unlimited OCR 2 is a document parsing model that sustains constant computational costs across arbitrarily long documents by bounding active reference tokens to a fixed capacity. At the hundred-page scale, it achieves 7.0\times and 5.6\times per-step speedups over Full Attention and R-SWA, respectively. The model delivers performance on MPDocBench and MarathonDocBench, newly proposed benchmarks targeting hundred-page document parsing.written, reviewed, cited
arxiv.org2023-05-05authorityHN front pageabout the Unlimited familyHN 335 pts · 101 comments404 words
Unlimiformer wraps any pretrained encoder-decoder transformer to process practically unlimited input sequences by offloading cross-attention to a k-nearest-neighbor index. The method enables processing 500k token-long inputs from the BookSum dataset without input truncation at test time. It extends models like BART and Longformer to unlimited inputs without additional learned weights or code modifications.written, reviewed, cited
arxiv.org2026-06-23authorityabout the Unlimited familyHN 3 pts · 0 comments396 words
Unlimited OCR replaces all attention layers in the decoder with Reference Sliding Window Attention to maintain a constant KV cache throughout decoding. Building on the high compression rate of DeepSeek OCR's encoder, the model transcribes dozens of pages in a single forward pass under a standard maximum length of 32K. R-SWA serves as a general-purpose parsing attention mechanism applicable to tasks such as ASR and translation.written, reviewed, cited
arxiv.org2026-06-22authorityabout the Unlimited family5,309 words
Unlimited OCR introduces Reference Sliding Window Attention to solve memory bottlenecks in long-horizon parsing. The mechanism limits output attention to the preceding 128 tokens while attending to all reference tokens, maintaining a constant KV cache throughout decoding. This design enables single-pass transcription of dozens of pages, achieving 93% on the OmniDocBench v1.5 benchmark, a 6% improvement over the DeepSeek OCR baseline.written, reviewed, cited
  • The model retains the DeepSeek OCR DeepEncoder which achieves a 16x token compression rate.
  • Unlimited OCR can transcribe dozens of pages in a single forward pass under a standard maximum length of 32K.
fouadsalkini.com2026-10-293,006 words
dev.to2026-10-28376 words
mindstudio.ai2026-10-281,471 words
litebites.github.io2026-10-27646 words
media.githubusercontent.com6,235 words
All coverage tracked for this model (11) — append-only, nothing is ever removed

Papers

2 papers

Papers 2

arXiv links found in the model card and its tags. "Peer-reviewed" is shown only with evidence: a published venue in OpenAlex (measured) or the authors' own journal reference on arXiv (reported).

Similar models

3 models

Similar models

  • DeepSeek-OCR · 3.34B
    same size band (M), also MoE, same task (image-text-to-text), more providers, permissive license
  • DeepSeek-OCR-2 · 3.39B
    same size band (M), also MoE, same task (image-text-to-text), permissive license
  • deepseek-vl2-tiny · 3.37B
    same size band (M), same task (image-text-to-text)

Sources

3 sources

Sources

Hub snapshot: 2026-11-30 · Providers: 2026-11-30 07:13 UTC · Articles: 2026-11-30 07:14 UTC · Summary: 2026-10-29 07:13 UTC · Last verified 2026-11-30 07:14 UTC

Follow Unlimited-OCR-2

Watch this model

Email alerts are not open yet; the feeds above are the same data. See feeds for the item schema.