Dataset Viewer
Auto-converted to Parquet Duplicate
width
int32
6.3k
6.53k
height
int32
8.53k
8.9k
title
stringclasses
6 values
page_number
int32
1
8
total_pages
int32
4
8
canvas_label
stringclasses
7 values
date
stringclasses
6 values
year
stringdate
1895-01-01 00:00:00
1922-01-01 00:00:00
publisher
stringclasses
2 values
place
stringclasses
1 value
source_manifest
stringclasses
6 values
image
imagewidth (px)
6.3k
6.53k
markdown
stringclasses
10 values
inference_info
stringclasses
1 value
6,514
8,549
Highland News issue: 2033
6
8
6
Saturday 16/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732962/manifest.json
[{"bbox": [207, 148, 233, 183], "category": "Page-header"}, {"bbox": [873, 151, 2027, 192], "category": "Page-header"}, {"bbox": [223, 225, 527, 250], "category": "Section-header"}, {"bbox": [306, 264, 453, 288], "category": "Text"}, {"bbox": [171, 288, 589, 404], "category": "Text"}, {"bbox": [171, 404, 589, 499], "ca...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,460
8,872
Highland News issue: 600
3
4
3
Saturday 06/04/1895
1895
P. MacLeod & Co.
Inverness
https://view.nls.uk/manifest/2486/4757/248647578/manifest.json
[{"bbox": [203, 235, 551, 278], "category": "Title"}, {"bbox": [203, 295, 553, 317], "category": "Title"}, {"bbox": [203, 321, 553, 391], "category": "Text"}, {"bbox": [307, 406, 451, 426], "category": "Title"}, {"bbox": [272, 430, 483, 448], "category": "Title"}, {"bbox": [203, 448, 528, 608], "category": "Table"}, {"...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,519
8,572
Highland News issue: 2031
5
8
5
Saturday 02/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732960/manifest.json
[{"bbox": [914, 152, 2063, 193], "category": "Page-header"}, {"bbox": [2656, 167, 2685, 197], "category": "Page-header"}, {"bbox": [187, 242, 603, 286], "category": "Section-header"}, {"bbox": [385, 290, 586, 312], "category": "Text"}, {"bbox": [222, 352, 569, 395], "category": "Section-header"}, {"bbox": [236, 424, 55...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,534
8,891
Highland News issue: 596
3
4
3
Saturday 09/03/1895
1895
P. MacLeod & Co.
Inverness
https://view.nls.uk/manifest/2486/4757/248647574/manifest.json
[{"bbox": [215, 258, 558, 303], "category": "Title"}, {"bbox": [213, 313, 561, 333], "category": "Title"}, {"bbox": [213, 333, 561, 403], "category": "Text"}, {"bbox": [279, 414, 491, 452], "category": "Title"}, {"bbox": [213, 452, 534, 591], "category": "Table"}, {"bbox": [307, 605, 455, 629], "category": "Title"}, {"...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,423
8,900
Highland News issue: 599
1
4
1
Saturday 30/03/1895
1895
P. MacLeod & Co.
Inverness
https://view.nls.uk/manifest/2486/4757/248647577/manifest.json
[{"bbox": [607, 214, 2366, 405], "category": "Title"}, {"bbox": [671, 473, 2291, 535], "category": "Title"}, {"bbox": [1195, 578, 1744, 605], "category": "Text"}, {"bbox": [2103, 582, 2342, 607], "category": "Text"}, {"bbox": [607, 587, 689, 611], "category": "Text"}, {"bbox": [583, 635, 931, 666], "category": "Title"}...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,423
8,900
Highland News issue: 598
4
4
4
Saturday 23/03/1895
1895
P. MacLeod & Co.
Inverness
https://view.nls.uk/manifest/2486/4757/248647576/manifest.json
[{"bbox": [129, 275, 476, 344], "category": "Title"}, {"bbox": [145, 346, 456, 385], "category": "Title"}, {"bbox": [132, 387, 474, 419], "category": "Text"}, {"bbox": [171, 432, 433, 451], "category": "Title"}, {"bbox": [129, 448, 474, 556], "category": "Text"}, {"bbox": [129, 555, 474, 611], "category": "Text"}, {"bb...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,492
8,533
Highland News issue: 2033
3
8
3
Saturday 16/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732962/manifest.json
[{"bbox": [242, 246, 563, 394], "category": "Title"}, {"bbox": [238, 405, 567, 471], "category": "Text"}, {"bbox": [238, 484, 569, 627], "category": "Text"}, {"bbox": [238, 624, 569, 802], "category": "Text"}, {"bbox": [238, 802, 569, 847], "category": "Text"}, {"bbox": [240, 851, 571, 923], "category": "Text"}, {"bbox...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,526
8,545
Highland News issue: 2033
2
8
2
Saturday 16/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732962/manifest.json
[{"bbox": [175, 207, 587, 574], "category": "Table"}, {"bbox": [175, 607, 582, 707], "category": "Title"}, {"bbox": [175, 719, 589, 903], "category": "Text"}, {"bbox": [282, 917, 492, 946], "category": "Caption"}, {"bbox": [177, 954, 591, 1638], "category": "Table"}, {"bbox": [294, 1639, 471, 1667], "category": "Captio...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,514
8,554
Highland News issue: 2031
8
8
8
Saturday 02/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732960/manifest.json
[{"bbox": [161, 281, 576, 322], "category": "Title"}, {"bbox": [161, 341, 579, 611], "category": "Text"}, {"bbox": [161, 627, 579, 821], "category": "Text"}, {"bbox": [161, 835, 579, 933], "category": "Text"}, {"bbox": [161, 948, 579, 1160], "category": "Text"}, {"bbox": [161, 1176, 579, 1331], "category": "Text"}, {"b...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]
6,300
8,812
Highland News issue: 599
2
4
2
Saturday 30/03/1895
1895
P. MacLeod & Co.
Inverness
https://view.nls.uk/manifest/2486/4757/248647577/manifest.json
[{"bbox": [68, 189, 421, 258], "category": "Text"}, {"bbox": [122, 267, 366, 301], "category": "Title"}, {"bbox": [68, 307, 421, 406], "category": "Text"}, {"bbox": [175, 401, 317, 416], "category": "Text"}, {"bbox": [125, 416, 366, 431], "category": "Text"}, {"bbox": [71, 444, 415, 478], "category": "Title"}, {"bbox":...
[{"model_id": "davanstrien/dots.ocr-1.5", "model_name": "DoTS.ocr-1.5", "column_name": "markdown", "timestamp": "2026-03-14T17:30:01.791944", "prompt_mode": "layout-only", "temperature": 0.1, "top_p": 0.9, "max_tokens": 24000}]

Document OCR using dots.ocr-1.5

This dataset contains OCR results from images in davanstrien/nls-highland-news-sample using DoTS.ocr-1.5, a 3B multilingual model with SOTA document parsing.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Prompt Mode: layout-only
  • Max Model Length: 24,000 tokens
  • Max Output Tokens: 24,000
  • GPU Memory Utilization: 90.0%

Model Information

DoTS.ocr-1.5 is a 3B 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
  • Web screen parsing — Webpage layout analysis
  • Scene text spotting — Text detection in natural scenes

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 1.5 script:

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/dots-ocr-1.5.py \
    davanstrien/nls-highland-news-sample \
    <output-dataset> \
    --image-column image \
    --batch-size 16 \
    --prompt-mode layout-only \
    --max-model-len 24000 \
    --max-tokens 24000 \
    --gpu-memory-utilization 0.9

Generated with UV Scripts

Downloads last month
13