4bit MLX version of MoganOCR-TR for Apple silicon. MoganOCR-TR is a 2B-parameter OCR model for Turkish documents: it takes one page image and writes the whole page in reading order as Markdown, with tables as HTML and formulas as LaTeX.
Smallest and fastest; some loss in accuracy. The vision encoder is kept in bfloat16. Other versions: 8bit · 6bit · GGUF.
pip install -U mlx-vlm
mlx_vlm generate --model moganai/MoganOCR-TR-MLX-4bit --image page.png \
--prompt "Sayfayı markdown olarak yaz." --max-tokens 8000 --temperature 0
Send one page image per request with the prompt Sayfayı markdown olarak yaz. and temperature 0.
For details on the model, see the main model card.
Apache 2.0
moganai/MoganOCR-TR