alt.freeweights.text / Unlimited-OCR-2-bf16
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject:

Unlimited-OCR-2-bf16

Date: 2026-11-15Commit: 850d1e4Signed: 2DC28CC7B26A283B ✓

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

3.3B params6.85GBUnlimited-OCR-2-bf16safetensorspermissive
FactsParams3.3BSize6.85 GBFormatssafetensorsTaskimage text to textLicenseMITFrom sourcepermissive
$ fw get mlx-community/Unlimited-OCR-2-bf16
# manifest sha256 14a331616d58… · 6.85 GB · 26 files
$ fw verify ./Unlimited-OCR-2-bf16 mlx-community/Unlimited-OCR-2-bf16
From sourceHosted (signed)mlx-community/Unlimited-OCR-2-bf16Last check: 2026-11-15 03:41 UTC

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

Fine-tune of Unlimited-OCR-2.

Works with

Overview

Size
6.85 GB
Weights
6.68 GB (safetensors)
Parameters
3.3B
Formats
safetensors
Task
image text to text
License
MIT (permissive)
Files
26, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.text
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 03:41 UTCpassed

Model card

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

mlx-community/Unlimited-OCR-2-bf16#

baidu/Unlimited-OCR-2 converted to MLX with mlx-vlm: bfloat16 weights (no quantization). 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-bf16 --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-bf16 --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

26 files · 6.85 GBWeights 6.68 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 26 files with their sha256
FileSizesha256
.gitattributes1.75 KBd4124e61a8f303cba079a549366987f2d162b3721d3f6bf0379a3287a8d0ebd7
README.md1.47 KBf0dabd2dc621bafe5e85ae7790071b0e7d10696976615c24230aeea5614f5ad9
_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.68 KB7b306db5229b0fee36059f778cc4538702223323054b56e40df822cde081ba6c
configuration_deepseek_v2.py10.7 KBb8470dd616ba8745fce6e27b093aef73a098863cc891b2477dcf9326a36000f7
conversation.py9.25 KBec7b6ce89bcda643de1f43269ffa66a7b2e65dc3ed30e427958f776546b4ba03
dash_attention.py71.5 KB960b460acd816df8e561e73dccd5683acb95445eddc723c4f0d6ed1f462b2f77
deepencoder.py37.9 KB419b63388c1645b9b72c716070cdca36cd0be6047049424dc75941d3a00aaf1f
generation_config.json111 Bdcd0479f3a12e5e4413d956197f8a4074408e4901834b38c7e036519134e05af
model-00001-of-00002.safetensors5.25 GB1dde15597f56b6416eca589a38759a253369456b5f1a7de72de65952bd7f225e
model-00002-of-00002.safetensors1.43 GBc026f79748721d0b5a9ebb1dd5b2176802b396278e8dcd649598d377af7a4208
model.safetensors.index.json67.0 KB59f74c904c97bbeb531bf11e15bee6a0377855faec88972c6ea67177b9626c86
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
850d1e483f pinned now2026-11-15 03:41 UTC26 files · 6.85 GB

Use it

$ fw get mlx-community/Unlimited-OCR-2-bf16
# manifest sha256 14a331616d58… · 6.85 GB · 26 files
$ fw verify ./Unlimited-OCR-2-bf16 mlx-community/Unlimited-OCR-2-bf16
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-bf16.json --dir ./Unlimited-OCR-2-bf16 $ python3 fw.py verify ./Unlimited-OCR-2-bf16 ./mlx-community__Unlimited-OCR-2-bf16.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Unlimited-OCR-2-bf16 --revision 850d1e483f5a82a0597f0a45aac31b07ba840df2 --local-dir ./Unlimited-OCR-2-bf16
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-bf16", revision="850d1e483f5a82a0597f0a45aac31b07ba840df2") model = AutoModelForImageTextToText.from_pretrained("mlx-community/Unlimited-OCR-2-bf16", revision="850d1e483f5a82a0597f0a45aac31b07ba840df2", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/Unlimited-OCR-2-bf16 --revision 850d1e483f5a82a0597f0a45aac31b07ba840df2

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
f0dabd2dc621bafe5e85ae7790071b0e7d10696976615c24230aeea5614f5ad9
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.textSubject: Unlimited-OCR-2-bf16Date: 2026-11-15Commit: 850d1e4Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Unlimited-OCR-2-bf16
Pinned commit
850d1e483f5a82a0597f0a45aac31b07ba840df2
Manifest
Unlimited-OCR-2-bf16.json · .minisig
Manifest sha256
14a331616d583bd7d230734267589cdbb260266b2a9885e7355af06f39396e6a
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:41 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Unlimited-OCR-2-bf16.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Unlimited-OCR-2-bf16.json.minisig $ minisign -Vm Unlimited-OCR-2-bf16.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 finetune 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-bf16
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-bf16.json. Provenance. Takedown history: none.
From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B