surya-smoke-ocr / README.md
davanstrien's picture
davanstrien HF Staff
Upload README.md with huggingface_hub
07d7da8 verified
|
Raw
History Blame Contribute Delete
1.75 kB
metadata
tags:
  - ocr
  - document-processing
  - surya
  - structured
  - uv-script
  - generated

Surya OCR 2 (ocr) on davanstrien/ufo-ColPali

Full-page ocr (structured html + bounding boxes) over images in davanstrien/ufo-ColPali using Surya OCR 2 (650M, Qwen3.5-based) by Datalab, via the surya-ocr package, run as offline vLLM batch inference on Hugging Face Jobs.

Processing Details

  • Source Dataset: davanstrien/ufo-ColPali
  • Model: datalab-to/surya-ocr-2
  • Task: ocr
  • Input column: image (image)
  • Text column: markdown (flattened, reading-order text per row)
  • Structured column: surya_blocks (JSON: per-page blocks with bbox / polygon / label / reading_order / confidence / html)
  • Split: train
  • Samples: 5
  • Processed OK: 5 / 5
  • Processing time: 3.7 min
  • Date: 2026-06-22 13:26 UTC

License note

Surya's code is Apache-2.0, but the model weights use a modified OpenRAIL-M license: free for research, personal use, and startups under $5M funding/revenue, restricted from competitive use against Datalab's API. See the model card.

Dataset Structure

Original columns plus:

  • markdown: flattened text (OCR), label outline (layout), or table HTML (table)
  • surya_blocks: structured result as a JSON string (one entry per page)
  • inference_info: JSON list tracking models applied to this dataset

Generated with UV Scripts.