Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
2.78k
2.89k
page_id
stringclasses
3 values
markdown
stringclasses
3 values
surya_blocks
stringclasses
3 values
inference_info
stringclasses
1 value
carson-1901-01-23-0001
To Chas W. Bryan with Compliments of W.J. The Commoner. VOL. I. NO. 1. LINCOLN, NEBRASKA, JANUARY 23, 1901. $1.00 a Year. William J. Bryan. Editor and Proprietor. The Commoner. Webster defines a commoner as "one of the common people." The name has been selected for this paper because THE COMMONER will endeavor to aid t...
[{"blocks": [{"polygon": [[365.844, 84.0], [2231.9320000000002, 84.0], [2231.9320000000002, 388.0], [365.844, 388.0]], "confidence": 0.9930627494983686, "label": "Text", "raw_label": "Text", "reading_order": 0, "html": "<p><i>To Chas W. Bryan<br/>with Compliments<br/>of W.J.</i></p>", "skipped": false, "error": false, ...
[{"model": "datalab-to/surya-ocr-2", "model_name": "surya-ocr-2", "column_name": "markdown", "blocks_column": "surya_blocks", "task": "ocr", "table_mode": null, "backend": "vllm-offline", "page_range": null, "error_rate": 0.0, "timestamp": "2026-06-22T14:04:02.668932+00:00", "script": "surya-ocr.py"}]
carson-1901-01-23-0002
2 The Commoner. a member of the President's cabinet; he ought to sit next to the president in the council chamber. Receiving his nomination from a national convention and his commission from the people, he is able to furnish the highest possible proof that he enjoys public respect and confidence, and the President shou...
[{"blocks": [{"polygon": [[141.831, 308.0], [180.76500000000001, 308.0], [180.76500000000001, 360.0], [141.831, 360.0]], "confidence": 0.9950050147061579, "label": "PageHeader", "raw_label": "Page-Header", "reading_order": 0, "html": "2", "skipped": false, "error": false, "bbox": [141.831, 308.0, 180.76500000000001, 36...
[{"model": "datalab-to/surya-ocr-2", "model_name": "surya-ocr-2", "column_name": "markdown", "blocks_column": "surya_blocks", "task": "ocr", "table_mode": null, "backend": "vllm-offline", "page_range": null, "error_rate": 0.0, "timestamp": "2026-06-22T14:04:02.668932+00:00", "script": "surya-ocr.py"}]
carson-1901-01-23-0003
The Commoner. 3 Another Endless Chain. Secretary Gage recently appeared before a House committee and urged the enactment of a law specifically requiring silver dollars to be redeemed in gold on demand. He argued that, as the legal tender law makes silver the equivalent of gold, the government might as well offer to fur...
[{"blocks": [{"polygon": [[1120.932, 84.0], [1704.51, 84.0], [1704.51, 172.0], [1120.932, 172.0]], "confidence": 0.9954978943742688, "label": "PageHeader", "raw_label": "Page-Header", "reading_order": 0, "html": "<h1>The Commoner.</h1>", "skipped": false, "error": false, "bbox": [1120.932, 84.0, 1704.51, 172.0]}, {"pol...
[{"model": "datalab-to/surya-ocr-2", "model_name": "surya-ocr-2", "column_name": "markdown", "blocks_column": "surya_blocks", "task": "ocr", "table_mode": null, "backend": "vllm-offline", "page_range": null, "error_rate": 0.0, "timestamp": "2026-06-22T14:04:02.668932+00:00", "script": "surya-ocr.py"}]

Surya OCR 2 (ocr) on davanstrien/surya-smoke-newspapers

Full-page ocr (structured html + bounding boxes) over images in davanstrien/surya-smoke-newspapers 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/surya-smoke-newspapers
  • 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: 3
  • Processed OK: 3 / 3
  • Processing time: 4.7 min
  • Date: 2026-06-22 14:04 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.

Downloads last month
46