Views
No views yet
ATH-MaaS/OvisOCR2 for document OCR and document parsing on Apple Silicon Macs. It is a format conversion, not a new training run or a fine-tuned checkpoint.| Item | Value |
|---|---|
| Base model | ATH-MaaS/OvisOCR2 |
| Model family | Qwen3.5 VLM (model_type: qwen3_5) |
| Main use | OCR, document parsing, Markdown extraction |
| MLX format | BF16 |
| Quantization | None; floating-point BF16 weights |
| Processor | Qwen3VLProcessor |
| Weight size | Approximately 1.7 GB for model.safetensors |
| Conversion status | Community conversion; not affiliated with the upstream authors |
mlx-vlm on an Apple Silicon Mac:python3 -m pip install -U mlx-vlm huggingface_hub1python3 -m venv .venv
2source .venv/bin/activate
3python -m pip install -U pip mlx-vlm huggingface_hubYOUR_HF_USERNAME with the account or organization that publishes this repository:1hf download YOUR_HF_USERNAME/OvisOCR2-MLX-BF16 \
2 --local-dir ./OvisOCR2-MLX-BF16.tar archive.mlx-vlm command is mlx_vlm.generate:1mlx_vlm.generate \
2 --model ./OvisOCR2-MLX-BF16 \
3 --image /path/to/document.png \
4 --prompt "Extract all readable content from this image in Markdown. Preserve the original reading order, headings, paragraphs, lists, and table structure as much as possible. Return Markdown only; do not add explanations." \
5 --max-tokens 4096 \
6 --temperature 0.0--enable-thinking unless you intentionally want to test a thinking-style prompt.Extract all readable content from the image in Markdown. Preserve the original text and layout as much as possible. Return Markdown only.1mkdir -p ~/models
2hf download YOUR_HF_USERNAME/OvisOCR2-MLX-BF16 \
3 --local-dir ~/models/OvisOCR2-MLX-BF16
4
5omlx serve --model-dir ~/modelshttp://localhost:8000/admin/chat, select the model and upload a document image. If an oMLX installation does not identify the model automatically, set its model type to VLM in the Admin panel. Use a prompt like the one above and keep thinking disabled for normal OCR.mlx-vlm:1mlx_vlm.convert \
2 --hf-path ATH-MaaS/OvisOCR2 \
3 --mlx-path OvisOCR2-MLX-BF16mlx-vlm version may produce small metadata differences; the generated config.json and processor files should be kept together with the weights.mlx-vlm/oMLX. Typical files include:1README.md
2config.json
3model.safetensors
4processor_config.json
5preprocessor_config.json
6tokenizer.json
7tokenizer_config.json
8chat_template.jinjamlx-vlm release. Do not rename or remove files generated by the converter.ATH-MaaS/OvisOCR2 as Apache-2.0. Please review and comply with the upstream license and attribution requirements when redistributing this conversion. This repository is an unofficial format conversion and does not change the upstream license.OvisOCR2-MLX-BF16. It should be used together with the model files in this repository, not with the original Transformers/PyTorch weights directly.