HuggingFaceM4/FineVision
Viewer • Updated • 24.2M • 101k • 524
How to use aipib/LightOnOCR-1B-1025-ft-iam-mlx-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir LightOnOCR-1B-1025-ft-iam-mlx-4bit aipib/LightOnOCR-1B-1025-ft-iam-mlx-4bit
This model was converted to MLX format from aipib/LightOnOCR-1B-1025-ft-iam-full using mlx-vlm version 0.3.9.
Refer to the original model card for more details on the model.
pip install -U mlx-vlm
python -m mlx_vlm.generate --model aipib/LightOnOCR-1B-1025-ft-iam-mlx-4bit --max-tokens 100 --temperature 0.0 --prompt "Describe this image." --image <path_to_image>
4-bit
Base model
lightonai/LightOnOCR-1B-1025