Views
No views yet
baidu/Unlimited-OCR checkpoint. It is published for Apple Silicon inference with mlx-vlm and maintained for use by shuuul/aimd.| Setting | Value |
|---|---|
| Source | baidu/Unlimited-OCR |
| Tool | mlx-vlm 0.6.8 |
| MLX runtime used for conversion | mlx 0.32.0 |
| Output precision | 6bit |
| Quantization | affine, group size 64 |
| Repository size | 2.98 GiB |
1mlx_vlm.convert \
2 --hf-path baidu/Unlimited-OCR \
3 --mlx-path ./Unlimited-OCR-6bit \
4 --quantize --q-bits 6 --q-group-size 64 --q-mode affine1uv tool install --force "aimd-tool @ git+https://github.com/shuuul/aimd.git@main"
2aimd scan.pdf --task ocr --model unlimited_ocr_6bitunlimited_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.1pip install -U "mlx-vlm>=0.6.8"
2python -m mlx_vlm.generate \
3 --model mlx-community/Unlimited-OCR-6bit \
4 --image scan.png \
5 --prompt "document parsing." \
6 --max-tokens 8192 \
7 --temperature 0mlx-vlm 0.6.4; 0.6.8 or newer is recommended to match the conversion environment.| Precision | Repository | Size |
|---|---|---|
| 4bit | mlx-community/Unlimited-OCR-4bit | 2.29 GiB |
| 6bit | mlx-community/Unlimited-OCR-6bit | 2.98 GiB |
| 8bit | mlx-community/Unlimited-OCR-8bit | 3.66 GiB |
| bf16 | mlx-community/Unlimited-OCR-bf16 | 6.22 GiB |