alt.freeweights.ocr / Unlimited-OCR-2-6bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.ocrSubject:

Unlimited-OCR-2-6bit

Date: 2026-11-15Commit: cb684ffSigned: 2DC28CC7B26A283B ✓

Image text to text model with 3.3B parameters. Safetensors weights, 3.36 GB in all. Published by mlx-community under MIT.

3.3B params3.36GBUnlimited-OCR-2-6bitsafetensorspermissive
FactsParams3.3BSize3.36 GBFormatssafetensorsTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get mlx-community/Unlimited-OCR-2-6bit
# manifest sha256 7ecd324a3752… · 3.36 GB · 25 files
$ fw verify ./Unlimited-OCR-2-6bit mlx-community/Unlimited-OCR-2-6bit
From sourceHosted (signed)mlx-community/Unlimited-OCR-2-6bitLast check: 2026-11-15 05:18 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Unlimited-OCR-2.

Works with

Overview

Size
3.36 GB
Weights
3.19 GB (safetensors)
Parameters
3.3B
Formats
safetensors
Task
image text to text
License
MIT (permissive)
Files
25, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.ocr
Lineage

Original release from the publisher.

Base model: baidu/Unlimited-OCR-2

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 05:18 UTCpassed

Model card

From the publisher at commit cb684ff. Shown as plain text with links; images open at the publisher.

mlx-community/Unlimited-OCR-2-6bit#

baidu/Unlimited-OCR-2 converted to MLX with mlx-vlm: 6-bit affine quantization (group size 64) of the language model. The SAM and CLIP vision towers and the per-layer DASH router stay in bfloat16.

Refer to the original model card for details on the model.

Use with mlx-vlm#

Unlimited-OCR-2 support (page2d RoPE and DASH block-sparse attention) is being upstreamed to mlx-vlm. Until it is released, install from the branch that adds it:

pip install -U "git+https://github.com/shuuul/mlx-vlm.git"
# One page (gundam mode: 1024 global view + up to 16 local crops)
mlx_vlm.generate --model mlx-community/Unlimited-OCR-2-6bit --image page.png \
    --prompt "Multi page parsing." --max-tokens 8192 --temperature 0

# Several pages in one request (one 1024 base view per page)
mlx_vlm.generate --model mlx-community/Unlimited-OCR-2-6bit --image p1.png p2.png \
    --prompt "Multi page parsing." --max-tokens 16384 --temperature 0

The output uses <PAGE>, <BLOCK>label[x0, y0, x1, y1]<FORK>text and cross_* / append_* labels for blocks that continue across a page break; the upstream repository ships a converter to Markdown.

Files

25 files · 3.36 GBWeights 3.19 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 25 files with their sha256
FileSizesha256
.gitattributes1.75 KBd4124e61a8f303cba079a549366987f2d162b3721d3f6bf0379a3287a8d0ebd7
README.md1.50 KBf64973e9cc5af9f21aefd59ad8101dd78fe5a7d158360fcbf1d154148fc4b39d
_sparse_base_impl.py222 KB86da9c5638704bb9338575040568a97b3e10820bbeb426f51c07e866f3423ccd
assets/HarryPotter.gif156 MB572305c08be5a87c14b0c211d3ef28398a00818b341bfcfdb8152678bffa8ea5
assets/Unlimited-OCR2.png1.08 MBe231defdf9aebbf8d6cf6a6dc15ded22412629a2cbf196436e2d9b58973aa678
assets/leaderboard.png1.48 MBaca406f669dba1af337d7ac9b7be6dafad89b3afbf3570567c578b50dfeb9e8b
assets/logo.png130 KBe1c533934d3d5abaa1666c8ce858d4f2195b14471c7e3b8f3da772972359652d
chat_template.jinja224 Bd46440846e0e99c13450d42551936db0624aa3fa390aee58be7c7463402d23a3
config.json6.89 KB599e830c28e6976ea598ec930c4d12bc6e41e4ef89be2d9716f250871e660122
configuration_deepseek_v2.py10.7 KBb8470dd616ba8745fce6e27b093aef73a098863cc891b2477dcf9326a36000f7
conversation.py9.25 KBec7b6ce89bcda643de1f43269ffa66a7b2e65dc3ed30e427958f776546b4ba03
dash_attention.py71.5 KB960b460acd816df8e561e73dccd5683acb95445eddc723c4f0d6ed1f462b2f77
deepencoder.py37.9 KB419b63388c1645b9b72c716070cdca36cd0be6047049424dc75941d3a00aaf1f
generation_config.json111 Bdcd0479f3a12e5e4413d956197f8a4074408e4901834b38c7e036519134e05af
model.safetensors3.19 GB184bccb5c150cbf00161ecf9e8253f991a7e5702373234117ff6f78779710864
model.safetensors.index.json78.4 KBa6f0bc7a2e520566e24727e139ab4f31accbf82b008e65a6c9a1ffdccb7dc315
modeling_deepseekv2.py25.6 KB24a15dfd47578ab24a7a4d4e977dc5d7a23dfef0a2a4c4bf73fcf3e2ce7acaf2
modeling_unlimitedocr.py55.7 KBf6df813cef23cc28b1daca40fd8cb20740d05a238e7b9dfa2334531fdcf39f1f
packing_patch.py8.11 KBe60d842c210c9f1d6cd2ae328cf9127a75f7941a0cea2a8e9abc14662f770c6c
processor_config.json506 B7dc5f3c9aab298f845c5664f276eca5692153654b0082067c3f295585fc89712
sparse_gather_e2e_triton.py18.1 KB58f1bc46093d47b00744970677e66bfbd7485a2d13810f46d13d867ceda13dd4
sparse_gather_triton.py23.9 KBc3de717ffaca40240c665b8d645f15a9d1999feeabaa94beb35caad877c2f0f4
special_tokens_map.json549 B9e89493d7938e7710c524dbaff613c3648f0a018262417af78505128004e5cb4
tokenizer.json9.98 MBc55c165e32c5a67830362a53e1f548c8930dcc8469efa30ff3252a982799c589
tokenizer_config.json567 B6835b63b4534bac1094a9f4e6b136b4569772b38b81d78cc773f3aa6e6b7aa47
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cb684ff041 pinned now2026-11-15 05:18 UTC25 files · 3.36 GB

Use it

$ fw get mlx-community/Unlimited-OCR-2-6bit
# manifest sha256 7ecd324a3752… · 3.36 GB · 25 files
$ fw verify ./Unlimited-OCR-2-6bit mlx-community/Unlimited-OCR-2-6bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Unlimited-OCR-2-6bit.json --dir ./Unlimited-OCR-2-6bit $ python3 fw.py verify ./Unlimited-OCR-2-6bit ./mlx-community__Unlimited-OCR-2-6bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Unlimited-OCR-2-6bit --revision cb684ff041ec006a17133d8ca9528c656a0c6bf7 --local-dir ./Unlimited-OCR-2-6bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("mlx-community/Unlimited-OCR-2-6bit", revision="cb684ff041ec006a17133d8ca9528c656a0c6bf7") model = AutoModelForImageTextToText.from_pretrained("mlx-community/Unlimited-OCR-2-6bit", revision="cb684ff041ec006a17133d8ca9528c656a0c6bf7", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Unlimited-OCR-2-6bit --revision cb684ff041ec006a17133d8ca9528c656a0c6bf7

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
f64973e9cc5af9f21aefd59ad8101dd78fe5a7d158360fcbf1d154148fc4b39d
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.ocrSubject: Unlimited-OCR-2-6bitDate: 2026-11-15Commit: cb684ffSigned: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Unlimited-OCR-2-6bit
Pinned commit
cb684ff041ec006a17133d8ca9528c656a0c6bf7
Manifest
Unlimited-OCR-2-6bit.json · .minisig
Manifest sha256
7ecd324a3752162bb9ea319a8e33e848495006ad37fad03c279aa666e6398a94
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:18 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Unlimited-OCR-2-6bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Unlimited-OCR-2-6bit.json.minisig $ minisign -Vm Unlimited-OCR-2-6bit.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

baidu/Unlimited-OCR-2 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Unlimited-OCR-2-6bit
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Unlimited-OCR-2-6bit.json. Provenance. Takedown history: none.
From: mlx-community <huggingface.co/mlx-community>Subject: Unlimited-OCR-2-4bit
From: mlx-community <huggingface.co/mlx-community>Subject: Unlimited-OCR-2-8bit
From: baidu <huggingface.co/baidu>Subject: Unlimited-OCR-2