This repository contains the 4-bit affine quantized MLX conversion of Baidu's official baidu/Unlimited-OCR checkpoint. It is published for Apple Silicon inference with mlx-vlm and maintained for use by shuuul/aimd.
The model architecture, tokenizer, processor configuration, prompts, and MIT license come from the official checkpoint. Refer to the official model card and Unlimited-OCR repository for model details, capabilities, limitations, and attribution.
The language-model weights use uniform affine quantization with group size 64. mlx-vlm intentionally leaves unsupported or quality-sensitive multimodal modules at higher precision, so total repository size is larger than a theoretical all-layer quantization.
unlimited_ocr defaults to the 4-bit repository. AIMD runs each page in Unlimited-OCR's single-image gundam mode with prompt document parsing., cropping=True, base_size=1024, image_size=640, and a sliding-window no-repeat n-gram guard. See the AIMD README for the complete runtime behavior.
The upstream checkpoint is released under the MIT license. This repository is a format conversion and does not modify the upstream model architecture or claim ownership of Baidu's model.
Files
15 files · 2.46 GBWeights 2.45 GB (safetensors). Sizes and sha256 from the signed manifest.