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
1 value
inference_info
stringclasses
1 value
brit_00000
Normal
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
brit_00389
Normal
336
PlateXXHI.
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
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...
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
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...
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
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 ...
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
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...
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
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...
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]
brit_02723
Normal
[OCR ERROR]
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2026-06-05T14:15:24.289407", "prompt_mode": "ocr"}]

Document OCR using dots.ocr

This dataset contains OCR results from images in davanstrien/ocr-affordances-pages using DoTS.ocr, a compact 1.7B multilingual model.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Prompt Mode: ocr
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 8,192
  • GPU Memory Utilization: 80.0%

Model Information

DoTS.ocr is a compact multilingual document parsing model that excels at:

  • 🌍 100+ Languages - Multilingual document support
  • 📊 Table extraction - Structured data recognition
  • 📐 Formulas - Mathematical notation preservation
  • 📝 Layout-aware - Reading order and structure preservation
  • 🎯 Compact - Only 1.7B parameters

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

Usage

from datasets import load_dataset
import json

# Load the dataset
dataset = load_dataset("{output_dataset_id}", split="train")

# Access the markdown text
for example in dataset:
    print(example["markdown"])
    break

# View all OCR models applied to this dataset
inference_info = json.loads(dataset[0]["inference_info"])
for info in inference_info:
    print(f"Column: {info['column_name']} - Model: {info['model_id']}")

Reproduction

This dataset was generated using the uv-scripts/ocr DoTS OCR script:

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/dots-ocr.py \
    davanstrien/ocr-affordances-pages \
    <output-dataset> \
    --image-column image \
    --batch-size 16 \
    --prompt-mode ocr \
    --max-model-len 8192 \
    --max-tokens 8192 \
    --gpu-memory-utilization 0.8

Generated with 🤖 UV Scripts

Downloads last month
-