Dataset Viewer
Auto-converted to Parquet Duplicate
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
1.24k
24k
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
# NEWS ## TWOPENCE No. 2031 INVERNESS, SATURDAY, SEPTEMBER 2, 1922 REGISTERED AT THE GENERAL POST OFFICE --- ### INFIRMITY WEEK INVERNESS, SATURDAY, 2nd September, 1922 SATURDAY, 9th September, 1922 Programme for Week. SATURDAY, 2nd SEPTEMBER. PENTY TRIAL, 9.30 a.m. AT TOWN HALL GARDEN PARTY AT HEATHERLEY, co...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
2 HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1922 HIGHLAND RAILWAY THE SHORTEST AND QUICKEST ROUTE. THROUGH TRAIN SERVICE LONDON SOUTHAMPTON, GLOUCESTER, AUSTIN STERLING, WILMINGTON, BIRMINGHAM, MAIN INVERNESS. ST. BURBANK, SOUTHEND, BOURNARD For AUGUST 25 until Further Notice. From the South Week Days only Lon...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
# HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1992 ## CUTICURA HEALS RASH ON BABY On Head, Face and Ear. Itched and Burned. My baby suffered on an itching rash that broke out on his head, and I had one of the eyes. All of this was well and without any complications formed and healed. He could not sleep, and was always s...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
4 HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1922 COIR YARN. WE REG TO OUR CUSTOMERS AND OFFICERS THAT THE STRAIGHT INVOICE OF COIR YARN HAS JUST ARRIVED, AND ORDERS ARE BEING BOOKED NOW FOR DELIVERY AT REEKEN CASH PRICES. WHOLESALE ONLY. KENNETH MACLENNAN & CO., Ltd., 6 NORTH BEACH STREET, STORROWAY. FOR QUALITY ROYAL ...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
# HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1992 ## EARLY EDITION ### STORROWWAY #### THE FARLE-HOWER, SEPTEMBER 1991 Sunday 7:11 7:12 Monday 7:30 7:37 Tuesday 7:43 7:48 Wednesday 7:38 7:43 Thursday 7:38 7:43 Friday 7:38 7:43 The long green, sandy, dark and parting green areas are well-preserved. The new ...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
# HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1922 ## THERE AND THERE. ### SQUERVY TREATMENT. Representative of the Press engaged in what she called difficult work sometimes to be gradually impressed by the condition of the workmen. There were many other institutions of this kind, it cannot possibly proper without publici...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1922 7 A LONSON LETTER. THE PREMIER’S NEW HOME. When the New Minister came from his beloved Fairness in Wales to visit him in the new home of the City of Cardiff, he was Nathaniel. There is a quiet and quiet and comfortable. And, in his own words, he is a man who is not afraid ...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
8 HIGHLAND NEWS, SATURDAY, SEPTEMBER 2, 1992 GLASGOW NOTES frightening home on Friday, September 2, will be spent with a concert of music and dance. The concert will be held at the Royal Hotel in the South Bank of the River, and the time is announced that the services will be held at the Royal Hotel in the South Ban...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
# HIGHLAND N TWOPENCE No. 2032 INVERNESS, SATURDAY, SEPTEMBER 9, 1922 REGISTERED AT THE GENERAL POST OFFICE AS A NEWSPAPER. --- ## BIRTHS. At “Craiglin’” Kyle of Lochlouth, on 21st August, to Mr and Mrs A. J. Forghy, 4. At Morni Als, Bagnall’s Inn, on 2nd September, the wife of the widow of Evelyn Pryde-Palmer Ho...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
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
2 HIGHLAND NEWS, SATURDAY, SEPTEMBER 9, 1922 HIGHLAND RAILWAY THE SHORTEST AND QUIEST ROUTE. TO BLOOM. SOUTHERN GLAMOR, JUNCTION & KINNURNE GLAZATORY, BLOOM, SAINTS INVERNESS. STRATFEEFER, and the SOUTH OF SCOLAND FOR SEPTEMBER, or until Further Notice From the South Buses West View Chicago Chicago Chicago ...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
6,504
8,523
Highland News issue: 2032
3
8
3
Saturday 09/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732961/manifest.json
# HIGHLAND NEWS, SATURDAY, SEPTEMBER 9, 1922 ## THE LOCH MARÉE POISONING TRAGEDY AT DINGWALL ### TERRIBLE HAVOC BY GERMS Dr. Murray, Professor of Medicine at Glasgow University, made some interesting observations about the death of Mr. D. D. D. D., which opened at the Sherd Hall of Dingwall, on Tuesday, the third af...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
6,514
8,591
Highland News issue: 2032
4
8
4
Saturday 09/09/1922
1922
Highland News, Limited
Inverness
https://view.nls.uk/manifest/2437/3296/243732961/manifest.json
4 HIGHLAND NEWS, SATURDAY, SEPTEMBER 9, 1922 FOR SALE is private prints, Prentice Hall, New York, and is supplied by the printer, Mr. Agnes Macferr, Ammonist, 340 Broadway, New York, and Baltimore, small shops and outbuildings. Every connoisseur, including the printer, Mr. William J. Tolmie, M.P.S., CHEMIST AND DRUGI...
[{"model_id": "lightonai/LightOnOCR-2-1B", "model_name": "LightOnOCR-2", "column_name": "markdown", "timestamp": "2026-02-22T16:09:32.265527", "temperature": 0.2, "top_p": 0.9, "max_tokens": 4096, "target_size": 1540}]
End of preview. Expand in Data Studio

Document OCR using LightOnOCR-2-1B

This dataset contains OCR results from images in davanstrien/nls-highland-news-sample using LightOnOCR-2, a fast and compact 1B OCR model trained with RLVR.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Target Image Size: 1540px (longest dimension)
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 4,096
  • Temperature: 0.2
  • Top P: 0.9
  • GPU Memory Utilization: 80.0%

Model Information

LightOnOCR-2 is a next-generation fast, compact OCR model that excels at:

  • Fastest Speed - 42.8 pages/second on H100 GPU (7× faster than v1)
  • 🎯 High Accuracy - 83.2 ± 0.9% on OlmOCR-Bench (+7.1% vs v1)
  • 🧠 RLVR Training - Eliminates repetition loops and formatting errors
  • 📚 Better Dataset - 2.5× larger training data with cleaner annotations
  • 📐 LaTeX formulas - Mathematical notation in LaTeX format
  • 📊 Tables - Extracted and formatted as markdown
  • 📝 Document structure - Hierarchy and layout preservation
  • 🌍 Multilingual - Optimized for European languages
  • 💪 Production-ready - Outperforms models 9× larger

Key Improvements over v1

  • 7.5× faster: 42.8 vs 5.71 pages/sec on H100
  • +7.1% accuracy: 83.2% vs 76.1% on benchmarks
  • Better quality: RLVR training eliminates common OCR errors
  • Cleaner output: No repetition loops or formatting glitches
  • Simpler: Single model (no vocabulary variants)

Dataset Structure

The dataset contains all original columns plus:

  • markdown: The extracted text in markdown format with LaTeX formulas
  • 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 LightOnOCR-2 script:

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/lighton-ocr2.py \
    davanstrien/nls-highland-news-sample \
    <output-dataset> \
    --image-column image \
    --batch-size 16

Performance

  • Processing Speed: ~0.18 images/second
  • Benchmark Score: 83.2 ± 0.9% on OlmOCR-Bench
  • Training: RLVR (Reinforcement Learning with Verifiable Rewards)

Generated with 🤖 UV Scripts

Downloads last month
15