Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
1.41k
1.78k
path
stringlengths
60
60
markdown
stringlengths
1.56k
4.79k
inference_info
stringclasses
1 value
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.08.png
<table class="table table-bordered"><thead><tr><th rowspan="2"></th><th colspan="5">JUNE 1984 (PRELIMINARY) 1/</th></tr><tr><th>MFRS. OF PIG IRON AND RAW STEEL &amp; CASTINGS 2/</th><th>MFRS. OF STEEL CASTINGS 3/</th><th>IRON FOUNDRIES AND MISCELLANEOUS USERS</th><th>TOTAL FOR MONTH OF JUN 1984</th><th>REVISED TOTAL FO...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.16.png
<table class="table table-bordered"><thead><tr><th rowspan="2">ITEM</th><th colspan="2">RECEIPTS OF SCRAP</th><th colspan="4">PRODUCTION OF HOME SCRAP</th></tr><tr><th>FROM BROKERS, DEALERS AND OTHER OUTSIDE SOURCES</th><th>FROM OTHER OWN COMPANY PLANTS</th><th>RECIRCULATING SCRAP RESULTING FROM CURRENT OPERATIONS</th>...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.25.png
<table class="table table-bordered"><thead><tr><th rowspan="2">ITEM</th><th colspan="2">RECEIPTS OF SCRAP</th><th colspan="4">PRODUCTION OF HOME SCRAP</th></tr><tr><th>FROM BROKERS, DEALERS AND OTHER OUTSIDE SOURCES</th><th>FROM OTHER OWN COMPANY PLANTS</th><th>RECIRCULATING SCRAP RESULTING FROM CURRENT OPERATIONS</th>...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.30.png
<table class="table table-bordered"><thead><tr><th rowspan="2">ITEM</th><th colspan="2">RECEIPTS OF SCRAP</th><th colspan="4">PRODUCTION OF HOME SCRAP</th></tr><tr><th>FROM BROKERS, DEALERS AND OTHER OUTSIDE SOURCES</th><th>FROM OTHER OWN COMPANY PLANTS</th><th>RECIRCULATING OBSOLETE SCRAP (INCLUDES INGOT MOLDS, STOOLS...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.36.png
<table class="table table-bordered"><thead><tr><th rowspan="3">TYPE OF FURNACE OR OTHER USE</th><th colspan="2">MANUFACTURERS OF PIG IRON AND RAW STEEL AND CASTINGS 1/</th><th colspan="2">MANUFACTURERS OF STEEL CASTINGS 2/</th><th colspan="2">IRON FOUNDRIES AND MISCELLANEOUS USERS</th><th colspan="2">TOTAL ALL TYPES</t...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.45.png
<table class="table table-bordered"><thead><tr><th rowspan="2">ITEM</th><th colspan="2">RECEIPTS OF SCRAP</th><th colspan="5">PRODUCTION OF HOME SCRAP</th></tr><tr><th>FROM BROKERS, DEALERS AND OTHER OUTSIDE SOURCES</th><th>FROM OTHER OWN COMPANY PLANTS</th><th>RECIRCULATING SCRAP RESULTING FROM CURRENT OPERATIONS</th>...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.50.png
<table class="table table-bordered"><thead><tr><th rowspan="2">ITEM</th><th colspan="2">RECEIPTS OF SCRAP</th><th colspan="2">PRODUCTION OF HOME SCRAP</th><th colspan="2">CONSUMPTION OF BOTH PURCHASED AND HOME SCRAP (INCLUDES RE-CIRCULATING SCRAP)</th><th>SHIPMENTS OF SCRAP</th><th>ENDING STOCKS</th></tr><tr><th>FROM B...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.53.56.png
<table class="table table-bordered"><thead><tr><th rowspan="2">ITEM</th><th colspan="2">RECEIPTS OF SCRAP</th><th colspan="5">PRODUCTION OF HOME SCRAP</th></tr><tr><th>FROM BROKERS, DEALERS AND OTHER OUTSIDE SOURCES</th><th>FROM OTHER OWN COMPANY PLANTS</th><th>RECIRCULATING SCRAP RESULTING FROM CURRENT OPERATIONS</th>...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.54.00.png
<table class="table table-bordered"><thead><tr><th rowspan="3">TYPE OF FURNACE OR OTHER USE</th><th colspan="2">MANUFACTURERS OF PIG IRON AND RAW STEEL AND CASTINGS 1/</th><th colspan="2">MANUFACTURERS OF STEEL CASTINGS 2/</th><th colspan="2">IRON FOUNDRIES AND MISCELLANEOUS USERS</th><th colspan="2">TOTAL ALL TYPES</t...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.54.13.png
<table class="table table-bordered"><thead><tr><th rowspan="2">Country</th><th colspan="2">June 1984</th><th colspan="2">Year to date</th></tr><tr><th>Short tons</th><th>Value</th><th>Short tons</th><th>Value</th></tr></thead><tbody><tr><td>Canada</td><td>59,460</td><td>$6,155,135</td><td>371,443</td><td>$29,003,634</t...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
./harvardscan1984image/Screenshot 2026-03-26 at 09.54.23.png
<table class="table table-bordered"><thead><tr><th rowspan="2">Grade of Scrap</th><th colspan="2">June 1984</th><th colspan="2">Year to date</th></tr><tr><th>Short tons</th><th>Value</th><th>Short tons</th><th>Value</th></tr></thead><tbody><tr><td>No. 1 heavy melting steel scrap</td><td>263,377</td><td>$23,974,855</td>...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-04-02T18:55:45.329669", "task": "table", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]

Document OCR using GLM-OCR

This dataset contains OCR results from images in yhan86/harvardscan1984image using GLM-OCR, a compact 0.9B OCR model achieving SOTA performance.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 8,192
  • Temperature: 0.01
  • Top P: 1e-05
  • GPU Memory Utilization: 80.0%

Model Information

GLM-OCR is a compact, high-performance OCR model:

  • 0.9B parameters
  • 94.62% on OmniDocBench V1.5
  • CogViT visual encoder + GLM-0.5B language decoder
  • Multi-Token Prediction (MTP) loss for efficiency
  • Multilingual: zh, en, fr, es, ru, de, ja, ko
  • MIT licensed

Dataset Structure

The dataset contains all original columns plus:

  • markdown: The extracted text in markdown format
  • inference_info: JSON list tracking all OCR models applied to this dataset

Reproduction

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/glm-ocr-v2.py \
    yhan86/harvardscan1984image \
    <output-dataset> \
    --image-column image \
    --batch-size 16 \
    --task table

Generated with UV Scripts (glm-ocr-v2.py)

Downloads last month
31