volume_id stringclasses 1
value | page_number int32 1 512 | file_identifier stringlengths 9 9 | image imagewidth (px) 600 600 | text stringlengths 0 7.34k | alto_xml stringlengths 714 210k | has_image bool 1
class | has_alto bool 1
class | document_metadata stringclasses 1
value | has_metadata bool 1
class | edition stringclasses 1
value | volume_part stringclasses 1
value | publication_year stringdate 1797-01-01 00:00:00 1797-01-01 00:00:00 | editor stringclasses 1
value | full_title stringclasses 1
value | shelf_locator stringclasses 1
value | markdown stringlengths 51 16.5k | inference_info stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
190273291 | 1 | 190333957 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 782], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 2 | 190333970 | I | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 784], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | ||
190273291 | 3 | 190333983 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [499, 2, 556, 22], "category": "Text"}, {"bbox": [290, 359, 335, 406], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 4 | 190333996 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 784], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 5 | 190334009 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 784], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 6 | 190334022 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 784], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 7 | 190334035 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [285, 10, 493, 66], "category": "Text"}, {"bbox": [36, 152, 530, 455], "category": "Title"}, {"bbox": [253, 452, 329, 487], "category": "Text"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 8 | 190334048 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 784], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 9 | 190334061 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [0, 0, 588, 784], "category": "Picture"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 10 | 190334074 | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [122, 32, 483, 50], "category": "Section-header"}, {"bbox": [14, 58, 584, 748], "category": "Picture"}, {"bbox": [24, 750, 76, 758], "category": "Page-footer"}, {"bbox": [468, 754, 569, 762], "category": "Page-footer"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | |||
190273291 | 11 | 190334087 | ENCYCLOPEDIA BRITANNICA;
D I C T I 6 NARY
O F
ARTS, SCIENCES,
AND
MISCELLANEOUS LITERATURE;
Conftrufted on a PLAN,
B Y WH IC H
THE DIFFERENT SCIENCES AND ARTS
Are digefte'd into the FORM of Diftinft
TREATISES OR SYSTEMS,
The HISTORY, THEORY, and PRACTICE, of each,
according to the Lateft Difcoveries and Improvements;
A... | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [78, 17, 487, 41], "category": "Text"}, {"bbox": [55, 45, 510, 191], "category": "Title"}, {"bbox": [176, 198, 391, 218], "category": "Text"}, {"bbox": [247, 230, 312, 239], "category": "Text"}, {"bbox": [111, 249, 457, 263], "category": "Text"}, {"bbox": [172, 267, 390, 281], "category": "Text"}, {"bbox": [5... | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | ||
190273291 | 12 | 190334100 | dBntereti in ©tattoncrsf ipail in Cetma of tfje aa of parliament* | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [106, 255, 487, 271], "category": "Text"}, {"bbox": [195, 719, 390, 742], "category": "Page-footer"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | ||
190273291 | 13 | 190334113 | T O T H E
KING.
-
.
, • A' r
"v
t'ri
. '
^
SIR,
WHEN the Proprietors of the ENCYCLOPEDIA
BRITANNICA refolved to publifh a new and improved
Edition of that Work, they naturally requefted per^
miffion to lay it at the feet of their SOVEREIGN.
YOUR MAJESTY’S gracious compliance with that
requeft, whilft it incited them to... | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [160, 104, 410, 138], "category": "Title"}, {"bbox": [81, 179, 145, 200], "category": "Text"}, {"bbox": [57, 215, 513, 360], "category": "Text"}, {"bbox": [57, 407, 513, 687], "category": "Text"}, {"bbox": [456, 702, 511, 723], "category": "Text"}] | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] | ||
190273291 | 14 | 190334126 | iv
DEDICATION.
THAT by the Wifdom of Your Councils, and the
Vigour of Your Fleets and Armies, Your MAJESTY
may be enabled foon to reftore Peace to Europe;
that You may again have leifure to extend Your Royal
Care to the Improvement of Arts, and the Advance-
ment of Knowledge; that You may Reign long over
a Free, a Happ... | <?xml version="1.0" encoding="UTF-8"?>
<alto xmlns="http://www.loc.gov/standards/alto/v3/alto.xsd"><Description><MeasurementUnit>pixel</MeasurementUnit><sourceImageInformation><fileName>./data/pdfs/c_188936619/i_190273291/190273579.23.pdf</fileName></sourceImageInformation><OCRProcessing ID="IdOcr"><ocrProcessingStep><... | true | true | Encyclopaedia Britannica - Third edition, Volume 1, A-ANG - EB.5 | true | Third edition | Third edition, Volume 1, A-ANG | 1797 | Encyclopaedia Britannica | EB.5 | [{"bbox": [72, 27, 421, 47], "category": "Section-header"}, {"bbox": [73, 76, 526, 430], "category": "Text"}, {"bbox": [185, 477, 371, 502], "category": "Text"}, {"bbox": [230, 550, 471, 612], "category": "Text"}, {"bbox": [365, 654, 487, 673], "category": "Text"}, {"bbox": [106, 677, 166, 700], "category": "Text"}, {"... | [{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-09T07:52:29.329125", "prompt_mode": "layout-only"}] |
End of preview. Expand in Data Studio
Document OCR using dots.ocr
This dataset contains OCR results from images in davanstrien/ency-test using DoTS.ocr, a compact 1.7B multilingual model.
Processing Details
- Source Dataset: davanstrien/ency-test
- Model: rednote-hilab/dots.ocr
- Number of Samples: 512
- Processing Time: 10.3 min
- Processing Date: 2025-10-09 07:52 UTC
Configuration
- Image Column:
image - Output Column:
markdown - Dataset Split:
train - Batch Size: 512
- Prompt Mode: layout-only
- Max Model Length: 16,000 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 formatinference_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/ency-test \
<output-dataset> \
--image-column image \
--batch-size 512 \
--prompt-mode layout-only \
--max-model-len 16000 \
--max-tokens 8192 \
--gpu-memory-utilization 0.8
Generated with 🤖 UV Scripts
- Downloads last month
- 21