width int32 6.3k 6.66k | height int32 8.45k 9.17k | title stringclasses 12
values | page_number int32 1 8 | total_pages int32 4 8 | canvas_label stringclasses 8
values | date stringclasses 12
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 12
values | image imagewidth (px) 6.3k 6.66k | markdown stringlengths 8.26k 37.3k | inference_info stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6,627 | 8,628 | Highland News issue: 2031 | 1 | 8 | 1 | Saturday 02/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732960/manifest.json | <|ref|>title<|/ref|><|det|>[[220, 75, 780, 114]]<|/det|>
# HIGH AND NEWS
<|ref|>text<|/ref|><|det|>[[80, 84, 210, 101]]<|/det|>
At 7 Richmond Terrace, Harrowden Road, Inverness, on the 24th inst., to Mr and Mrs A. Etheridge, a daughter.—Both well.
<|ref|>text<|/ref|><|det|>[[80, 109, 210, 147]]<|/det|>
At the Imperia... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
6,627 | 8,628 | Highland News issue: 2031 | 2 | 8 | 2 | Saturday 02/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732960/manifest.json | <|ref|>text<|/ref|><|det|>[[55, 64, 200, 73]]<|/det|>
HIGHLAND RAILWAY
<|ref|>text<|/ref|><|det|>[[55, 77, 200, 88]]<|/det|>
THE SHORTER AND QUICKER
ROUTE.
<|ref|>text<|/ref|><|det|>[[78, 91, 178, 103]]<|/det|>
THEOCHO TRAIN SERVICE
BURTON
<|ref|>text<|/ref|><|det|>[[55, 105, 200, 120]]<|/det|>
LONDON
BRIGHTON, BOUR... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
6,512 | 8,488 | Highland News issue: 2031 | 3 | 8 | 3 | Saturday 02/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732960/manifest.json | <|ref|>title<|/ref|><|det|>[[70, 72, 191, 110]]<|/det|>
# CUTURA HEALS
RASH ON BABY
<|ref|>text<|/ref|><|det|>[[72, 113, 191, 136]]<|/det|>
On Head, Face and Ear.
Iched and Burned.
<|ref|>text<|/ref|><|det|>[[70, 140, 193, 175]]<|/det|>
“My baby suffered from an itching rash that broke out on his head, face and one o... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
6,463 | 8,584 | Highland News issue: 2031 | 4 | 8 | 4 | Saturday 02/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732960/manifest.json | <|ref|>text<|/ref|><|det|>[[140, 72, 255, 85]]<|/det|>
COIR YARN.
<|ref|>text<|/ref|><|det|>[[87, 97, 320, 128]]<|/det|>
WE BEG TO INITIATE TO OUR CUSTOMERS AND OTHERS THAT THIS SEASON'S FURTHER OF CO I R Y A R N HAS JUST ARRIVED, AND OTHERS ARE BEING BOOKED NOW FOR DELIVERY AT KEENEST CASI PRICES. WHOLESALE ONLY.
<|... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
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 | <|ref|>title<|/ref|><|det|>[[60, 61, 201, 73]]<|/det|>
# EARLY EDITION
<|ref|>text<|/ref|><|det|>[[76, 75, 189, 86]]<|/det|>
Thursday Evening.
<|ref|>sub_title<|/ref|><|det|>[[70, 91, 195, 103]]<|/det|>
## STORNOWAY.
<|ref|>text<|/ref|><|det|>[[80, 108, 189, 115]]<|/det|>
TIDE TABLE—HIGH WATER.
<|ref|>text<|/ref|><... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
6,514 | 8,481 | Highland News issue: 2031 | 6 | 8 | 6 | Saturday 02/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732960/manifest.json | <|ref|>sub_title<|/ref|><|det|>[[50, 66, 170, 74]]<|/det|>
## HERE AND THERE.
<|ref|>sub_title<|/ref|><|det|>[[40, 80, 125, 87]]<|/det|>
## SOURCY TREATMENT.
<|ref|>text<|/ref|><|det|>[[38, 87, 191, 316]]<|/det|>
Representatives of the Press engaged in the work of the country without reference to gratuitously insiste... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
6,539 | 8,634 | Highland News issue: 2031 | 7 | 8 | 7 | Saturday 02/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732960/manifest.json | <|ref|>title<|/ref|><|det|>[[320, 39, 707, 50]]<|/det|>
# HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1922
<|ref|>sub_title<|/ref|><|det|>[[100, 59, 180, 66]]<|/det|>
## A LONDON LETTER.
<|ref|>sub_title<|/ref|><|det|>[[60, 68, 179, 75]]<|/det|>
## THE PREMIER'S NEW HOME.
<|ref|>text<|/ref|><|det|>[[58, 75, 222, 234]]<|/d... | [{"model_id": "deepseek-ai/DeepSeek-OCR-2", "model_name": "DeepSeek-OCR-2", "column_name": "markdown", "timestamp": "2026-02-20T17:03:26.491913", "prompt_mode": "document", "max_tokens": 8192}] | |
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 | "<|ref|>title<|/ref|><|det|>[[50, 71, 197, 82]]<|/det|>\n# GLASGOW NOTES\n\n<|ref|>text<|/ref|><|det(...TRUNCATED) | "[{\"model_id\": \"deepseek-ai/DeepSeek-OCR-2\", \"model_name\": \"DeepSeek-OCR-2\", \"column_name\"(...TRUNCATED) | |
6,528 | 8,584 | Highland News issue: 2032 | 1 | 8 | 1 | Saturday 09/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732961/manifest.json | "<|ref|>title<|/ref|><|det|>[[230, 68, 800, 110]]<|/det|>\n# HIGHLAND NEWS\n\n<|ref|>text<|/ref|><|d(...TRUNCATED) | "[{\"model_id\": \"deepseek-ai/DeepSeek-OCR-2\", \"model_name\": \"DeepSeek-OCR-2\", \"column_name\"(...TRUNCATED) | |
6,541 | 8,596 | Highland News issue: 2032 | 2 | 8 | 2 | Saturday 09/09/1922 | 1922 | Highland News, Limited | Inverness | https://view.nls.uk/manifest/2437/3296/243732961/manifest.json | "<|ref|>sub_title<|/ref|><|det|>[[52, 55, 199, 66]]<|/det|>\n## HIGHLAND RAILWAY\n\n<|ref|>text<|/re(...TRUNCATED) | "[{\"model_id\": \"deepseek-ai/DeepSeek-OCR-2\", \"model_name\": \"DeepSeek-OCR-2\", \"column_name\"(...TRUNCATED) |
End of preview. Expand in Data Studio
Document OCR using DeepSeek-OCR-2
This dataset contains markdown-formatted OCR results from images in davanstrien/nls-highland-news-sample using DeepSeek-OCR-2.
Processing Details
- Source Dataset: davanstrien/nls-highland-news-sample
- Model: deepseek-ai/DeepSeek-OCR-2
- Number of Samples: 68
- Processing Time: 8.5 min
- Processing Date: 2026-02-20 17:03 UTC
Configuration
- Image Column:
image - Output Column:
markdown - Dataset Split:
train - Batch Size: 8
- Max Model Length: 8,192 tokens
- Max Output Tokens: 8,192
- GPU Memory Utilization: 80.0%
Model Information
DeepSeek-OCR-2 is a 3B parameter vision-language model featuring Visual Causal Flow architecture for more human-like visual encoding. Building on DeepSeek-OCR v1, it offers enhanced document understanding with dynamic resolution up to (0-6)x768x768 + 1x1024x1024 patches.
Capabilities
- LaTeX equations - Mathematical formulas preserved in LaTeX format
- Tables - Extracted and formatted as HTML/markdown
- Document structure - Headers, lists, and formatting maintained
- Image grounding - Spatial layout and bounding box information
- Complex layouts - Multi-column and hierarchical structures
- Multilingual - Supports multiple languages
Dataset Structure
The dataset contains all original columns plus:
markdown: The extracted text in markdown format with preserved structureinference_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 DeepSeek-OCR-2 vLLM script:
uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/deepseek-ocr2-vllm.py \\
davanstrien/nls-highland-news-sample \\
<output-dataset> \\
--image-column image
Performance
- Processing Speed: ~0.1 images/second
- Processing Method: Batch processing with vLLM (2-3x speedup over sequential)
Generated with UV Scripts
- Downloads last month
- 19