Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
600
600
label
class label
2 classes
id
stringlengths
9
9
meta
stringlengths
61
213
markdown
stringlengths
0
76.8k
inference_info
stringclasses
1 value
0not-illustrated
149979622
Encyclopaedia Britannica - Third edition, Volume 6, DIA-ETH - EB.5
EGY To pay any thing certain with regard to the nature of the foil or mineral productions. The thes. arise from the barbary and periploitation of the people, who imagine that all the various Γ†gyptians are the children of the sun, and that by their magic art to discover the treasures which the genii have concealed unde...
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-22T14:28:16.860515", "prompt_mode": "ocr"}]
0not-illustrated
193108325
Encyclopaedia Britannica - Eighth edition, Volume 8, Diamond-Entail - EB.16
ELECTRICITY. Phenomena, etc., and Laws, which they had been excited, we should have found that the rubber which excited the glass gave out reBUSIVE electricity, and that the rubber which excited the wax RESISTIVE electricity. Hence we learn, That in electrical exultation positive and negative electricity are differe...
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-22T14:28:16.860515", "prompt_mode": "ocr"}]
0not-illustrated
144850376
Encyclopaedia Britannica - Second edition, Volume 5, G-J - EB.4
Chap. III. HERALDRY Chap. III. Cefleury Figures. *Reptiles* and *insects* as tortoises, ferretes, grass-hoppers, &c. and their parts. *Stems* as trees, planty, flowers, herbs, &c. and their parts. *Stems*; as diamonds, rubies, pebbles, rocks, &c. *These charges have, as well as ordinances, divers proportions and ...
[{"model_id": "rednote-hilab/dots.ocr", "column_name": "markdown", "timestamp": "2025-10-22T14:28:16.860515", "prompt_mode": "ocr"}]
0not-illustrated
192200897
"Encyclopaedia Britannica, or, a Dictionary of arts, sciences, and miscellaneous literature : enlarg(...TRUNCATED)
"Malachi, A fan lounsereth his father, and a man fowrit his\nIf then I be, a father, where is my son(...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
0not-illustrated
144133901
"Encyclopaedia Britannica; or, A dictionary of arts and sciences, compiled upon a new plan … - Fir(...TRUNCATED)
"# BOOK-K-EEPING.\n\n## Β§ 2. What the Balancers in proper Foreign Trade are.\n\n1. *Voyage to, or f(...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
0not-illustrated
144850370
Encyclopaedia Britannica - Second edition, Volume 1, A-AST - EB.4
"ADM, A\n\n[85]\n\nADM, A\n\nAdmiralty\n\nAdmiralty\n\nAdmiralty\n\nAdmiralty\n\nAdmiralty\n\nAdmira(...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
0not-illustrated
192984256
"Encyclopaedia Britannica, or, a Dictionary of arts, sciences, and miscellaneous literature : enlarg(...TRUNCATED)
"R U S\n\n[350]\n\nR U S\n\nRufus, extinct, but their former volcanic fume is evinced by the appeara(...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
0not-illustrated
144133902
"Encyclopaedia Britannica; or, A dictionary of arts and sciences, compiled upon a new plan … - Fir(...TRUNCATED)
"FORM is so useful, among mechanics, for a sort of mould\nwherein any thing is fashioned or wrought:(...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
0not-illustrated
194167545
Encyclopaedia Britannica - Third edition, Volume 2, ANG-BAR - EB.6
"The effeminate words of this time say, that this\nfame followed Julian from place to place; and as (...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
0not-illustrated
144850373
Encyclopaedia Britannica - Second edition, Volume 2, Astronomy-BZO - EB.4
"AUR\n\n[918]\n\nAUR\n\nAurora\nBorealis.\n\nAurora\nBorealis.\n\nConcluding the caufe of this pheno(...TRUNCATED)
"[{\"model_id\": \"rednote-hilab/dots.ocr\", \"column_name\": \"markdown\", \"timestamp\": \"2025-10(...TRUNCATED)
End of preview. Expand in Data Studio

Document OCR using dots.ocr

This dataset contains OCR results from images in NationalLibraryOfScotland/encyclopaedia_britannica_illustrated using DoTS.ocr, a compact 1.7B multilingual model.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 256
  • Prompt Mode: ocr
  • Max Model Length: 16,000 tokens
  • Max Output Tokens: 14,000
  • 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 \
    NationalLibraryOfScotland/encyclopaedia_britannica_illustrated \
    <output-dataset> \
    --image-column image \
    --batch-size 256 \
    --prompt-mode ocr \
    --max-model-len 16000 \
    --max-tokens 14000 \
    --gpu-memory-utilization 0.8

Generated with πŸ€– UV Scripts

Downloads last month
6