datalab-to/surya-ocr-2.5 · Hugging Face
retained text
Surya is a 689M param OCR model with these features: * Accuracy - scores 85.9 on [OmniParseBench](https://huggingface.co/datasets/datalab-to/omni_parse_bench), the highest of the open models under 1B parameters we have scored, and 83.7% on [olmOCR-bench](https://huggingface.co/datasets/allenai/olmOCR-bench) * Speed - throughput of 4.5 pages/s on one H100 at 192 DPI, 1.7x Surya 2 with MTP (see [Throughput](https://huggingface.co/datalab-to/surya-ocr-2.5#throughput)) * Multilingual - scores 74.9% on an internal benchmark set of 91 languages (more [here](https://huggingface.co/datalab-to/surya-ocr-2.5#multilingual)) * Layout analysis (table, image, header, etc.) with reading order * Tables as HTML, with merged cells as colspan / rowspan (row and column geometry needs a Surya 2 checkpoint; see Limitations) # Commercial usage The Surya code is licensed under Apache 2.0. The model weights use a modified AI Pubs Open Rail-M license (free for research, personal use, and startups under $5M funding/revenue). For broader commercial licensing of the model weights, visit our pricing page [here](https://www.datalab.to/pricing?utm_source=gh-surya). # Limitations * This is specialized for document OCR. Performance on photos or natural scenes is not the goal. * Layout / OCR / table\_rec all need a running inference backend (vllm or llama.cpp). Detection runs purely on torch and works without it. * Surya 2.5 reads tables as HTML (full-page OCR, block mode, `surya_table`), but not row and column geometry: `surya_table --mode simple` returns an error. Use a Surya 2 checkpoint (`SURYA_MODEL_CHECKPOINT=datalab-to/surya-ocr-2`) for geometry. **Github** : [https://github.com/datalab-to/surya](https://github.com/datalab-to/surya) # [](https://huggingface.co/datalab-to/surya-ocr-2.5#troubleshooting)
document fetched 2026-10-31 00:44 · canonical https://reddit.com/r/LocalLLaMA/comments/1xjmfxb/datalabtosuryaocr25_hugging_face