Downloads · 30 days
182
15% of all-time downloads
mlx-community/Falcon-OCR-bf16
Falcon-OCR-bf16 is a image-text-to-text model from mlx-community. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
MLX-converted weights of tiiuae/Falcon-OCR for inference on Apple Silicon via mlx-vlm.
Downloads · 30 days
182
15% of all-time downloads
All-time downloads
1.3K
Public
Parameters
270M
540 MB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors540 MB · 99%
From the Hugging Face model README
MLX-converted weights of
tiiuae/Falcon-OCR for inference
on Apple Silicon via mlx-vlm.
mlx_vlm.convert (mlx-vlm 0.4.4).bfloat16.3a4d95a8b0008f7430df30a82cf35e6c3b6bcb66.trust_remote_code=True — the repository ships a custom
FalconOCRProcessor / FalconOCRForCausalLM that is loaded via
dynamic module import.mlx_vlm.convert raises
AttributeError: 'FalconOCRProcessor' object has no attribute 'save_pretrained'
at the very end of the conversion step. The weights and tokenizer are written
successfully before the error — so the artifacts uploaded here are complete
and mlx_vlm.load(...) / docling's MlxVlmEngine can consume them.
Tracked upstream: https://github.com/Blaizzy/mlx-vlm/issues.
from mlx_vlm import load, generate
model, processor = load("mlx-community/Falcon-OCR-bf16", trust_remote_code=True)
output = generate(model, processor, prompt="", image=["path/to/page.png"])
print(output)
All credit for the underlying model goes to the Falcon Perception Team at TII. Cite the model card for academic references.