Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
2.44k
4.05k
page_id
stringclasses
8 values
page_type
stringclasses
1 value
page_number
stringclasses
6 values
ocr_text
stringclasses
7 values
markdown
stringclasses
8 values
inference_info
stringclasses
1 value
brit_00000
Normal
The image provided does not contain any text or recognizable content. It appears to be a plain, textured surface with a brownish hue.
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_00389
Normal
336
PlateXXHI.
Plate. XXIII. Fig. 1. Fig. 2. Fig. 3. Fig. 4. Fig. 10 ARANEA TARANTULA Fig. 5. Fig. 6. Fig. 8. Fig. 7. Fig. 9. A. Bell Sculp.
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_00778
Normal
647
B O Themp, tranfplanted them at a great diftance from anymales of the fame genus, and befides had them inclofedby double rows of hedges. The refult was, that eachof thefe plants produced great quantities of fertile feeds.Tournefort made the fame trial upon the Inpulus, Mil¬ler upon the bryony, and Geoffroy upon the may...
hemp, transplanted them at a great distance from any males of the same genus, and besides had them inclosed by double rows of hedges. The result was, that each of these plants produced great quantities of fertile seeds. Tournefort made the same trial upon the lupulus, Miller upon the bryony, and Geoffroy upon the mays;...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_01167
Normal
6
DAS (30 6Porn'll of Exeter, which fends two members to parlia¬ment: W. long. 40, and N. lat. 50° 25'.DARWENT, a river, which,' rifing in the Peak of Dar-byfhire, runs from north to fouth through that county,and falls into the Trent.DASYPUS, the Armadillo,in zoology, a genus ofqua¬drupeds belonging to the...
south of Exeter, which sends two members to parliament: W. long. 4°, and N. lat. 50° 25'. DARWENT, a river, which, rising in the Peak of Darbyshire, runs from north to south through that county, and falls into the Trent. DASYPUS, the ARMADILLO, in zoology, a genus of quadrupeds belonging to the order of bruta. The da...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_01556
Normal
733
C HI A m?1t mull'be acknowledged, That thefe two dlalles of wordsare io nearly allied to one another, that it is difficult toalcertain, in all cafes, the precife boundary betweenthem.Befides thefe, there are other words which fometimesaflame the province of pronouns, and- are generally con¬sidered as belonging to ...
it must be acknowledged, that these two classes of words are so nearly allied to one another, that it is difficult to ascertain, in all cases, the precise boundary between them. Besides these, there are other words which sometimes assume the province of pronouns, and are generally considered as belonging to this class...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_01945
Normal
72
71 M E D Iamong the foldters, they are called camp-fevers ; in Hun¬gary, an Hungaric fever. But the pjague, or peftilence,is known when buboes and carbuncles arlfe in variousparts of the body. The fweating ficknefs had its rife inEngland, in which the patient fell into a violent fweat,of which many died in a day’s time...
among the soldiers, they are called camp-severs; in Hungary, an Hungaric fever. But the plague, or pestilence, is known when buboes and carbuncles arise in various parts of the body. The sweating sickness had its rise in England, in which the patient fell into a violent sweat, of which many died in a day's time. The p...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_02334
Normal
OPTgreat, apper.r"s from tl.e light of a candle; whrdi, ifthere be no obftacle in the way to obflrud the palTage ofits rays, will Gil all the fpace within two miles of thecfardle every way with luminous particles, before it haslofl: the lead: fenfible part of its fubdance.A ray of light is a continued dream of ihe...
great, appears from the light of a candle; which, if there be no obstacle in the way to obstruct the passage of its rays, will fill all the space within two miles of the candle every way with luminous particles, before it has lost the least sensible part of its substance. A ray of light is a continued stream of these ...
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}]
brit_02723
Normal
The image provided does not contain any text or content. It appears to be a plain, solid surface with a brownish hue.
[{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-06-05T14:15:08.043240", "task": "ocr", "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 davanstrien/ocr-affordances-pages 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.py \
    davanstrien/ocr-affordances-pages \
    <output-dataset> \
    --image-column image \
    --batch-size 16 \
    --task ocr

Generated with UV Scripts

Downloads last month
-