Run this model with HF Jobs

Run will702/mlx-vision on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/will702/mlx-vision. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/will702/mlx-vision on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

mlx-vision

DSpark-style faster OCR on Apple Silicon (MLX).

Speculative decoding for OCR VLMs β€” DeepSeek-OCR-2, GLM-OCR, Unlimited-OCR. Vision/OCR counterpart to mlx-dspark.

Install

pip install git+https://github.com/will702/mlx-vision.git
# with PDF support:
pip install "mlx-vision[pdf] @ git+https://github.com/will702/mlx-vision.git"

Quick start

from mlx_vision import ocr

result = ocr("document.png", model="deepseek-ocr-2", mode="auto")
print(result.text)
mlx-vision -m deepseek-ocr-2 -i page.png --mode dspark -v
mlx-vision -m deepseek-ocr-2 -i doc.pdf --page 0 --dpi 200

Modes

  • baseline β€” mlx-vlm generate
  • dspark / lookup β€” training-free semi-AR draft + confidence schedule (OCR DSpark weights not public yet)
  • dflash / eagle3 / mtp β€” neural speculation via mlx-vlm (--drafter)
  • auto β€” best available path

Cite

See CITATION.cff. Related paper: DSpark.

License

MIT

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Paper for will702/mlx-vision