Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
420
618
raw_queries
listlengths
1
1
broad_topical_query
stringclasses
3 values
broad_topical_explanation
stringclasses
3 values
specific_detail_query
stringclasses
3 values
specific_detail_explanation
stringclasses
3 values
visual_element_query
stringclasses
3 values
visual_element_explanation
stringclasses
3 values
parsed_into_json
bool
1 class
markdown
stringclasses
3 values
inference_info
stringclasses
1 value
[ "{\n \"broad_topical_query\": \"UFO FlyBys in Middle Tennessee\",\n \"broad_topical_explanation\": \"This query targets the main subject of the document, which is the reported UFO sightings in Middle Tennessee.\",\n \"specific_detail_query\": \"David Copperfield special\",\n \"specific_detail_explanation\": \"T...
UFO FlyBys in Middle Tennessee
This query targets the main subject of the document, which is the reported UFO sightings in Middle Tennessee.
David Copperfield special
This query focuses on a specific detail mentioned in the document, which is the David Copperfield special that the author and her husband were watching.
Image of a man and woman
This query references the visual element in the document, which is the image of a man and woman sitting on the porch.
true
<header>MAURISVILLE SCENE, Nashville, TN - Oct. 26, 1995: Crt: B. Kimurd</header> # OUT OF THIS WORLD ## UFO FlyBys in Middle Tennessee BY JOYSA M. WINTER <img>Two men, one looking up and the other looking down, with a large, dark, angular object in the sky.</img> A Vere Pisut is well aware that some people out ther...
[{"model_id": "nanonets/Nanonets-OCR2-3B", "model_name": "Nanonets-OCR2-3B", "column_name": "markdown", "timestamp": "2026-02-17T10:51:02.054556", "batch_size": 16, "max_tokens": 15000, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "script": "nanonets-ocr2.py", "script_url": "https://huggingface.co/datasets/uv-...
[ "{\n \"broad_topical_query\": \"Snake with legs and feet reported in Africa\",\n \"broad_topical_explanation\": \"This query focuses on the main subject of the document, which is the report of a snake with legs and feet found in Africa.\",\n \"specific_detail_query\": \"Snake with legs and feet reported in Afric...
Snake with legs and feet reported in Africa
This query focuses on the main subject of the document, which is the report of a snake with legs and feet found in Africa.
Snake with legs and feet reported in Africa, 1899
This query is more specific, focusing on the date and location mentioned in the document.
Document page with text
This query refers to the visual element of the document page, which includes the text content and layout.
true
A Waco Snake. Waco Telephone: J. W. Boynton brought to the Telephone yesterday afternoon what was a genuine curiosity and the existence of which has been denied by some people. It was nothing more nor less than a snake with legs. The snake, which was about one not more than sixteen inches long, was what is known as a ...
[{"model_id": "nanonets/Nanonets-OCR2-3B", "model_name": "Nanonets-OCR2-3B", "column_name": "markdown", "timestamp": "2026-02-17T10:51:02.054556", "batch_size": 16, "max_tokens": 15000, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "script": "nanonets-ocr2.py", "script_url": "https://huggingface.co/datasets/uv-...
[ "{\n \"broad_topical_query\": \"Document about Mount Clemens, Michigan\",\n \"broad_topical_explanation\": \"This query is effective because it covers the main subject of the document, which is the investigation of a UFO sighting in Mount Clemens, Michigan.\",\n \"specific_detail_query\": \"Document mentioning D...
Document about Mount Clemens, Michigan
This query is effective because it covers the main subject of the document, which is the investigation of a UFO sighting in Mount Clemens, Michigan.
Document mentioning Dr. Hynek and the OVNI
This query is effective because it focuses on a specific detail from the document, which is the involvement of Dr. Hynek in the investigation of the OVNI.
Document with a picture of Paris 67a
This query is effective because it references a visual element in the document, which is the picture of Paris 67a, and can help in retrieving the document.
true
<img>Donald y Grant Jaroslaw</img> Donald y Grant Jaroslaw MOUNT Clemens, Michigan, muy cerca del lago St. Clair y del a. de la r. de la rea de Selfridge. Como alas 14:30 ob- ser varon un objeto suspendi- do sobre el lago duran- te 10 minutos. En ese momento tomaron las 4 fotos, con una cámara Polaroid Swinger, antes...
[{"model_id": "nanonets/Nanonets-OCR2-3B", "model_name": "Nanonets-OCR2-3B", "column_name": "markdown", "timestamp": "2026-02-17T10:51:02.054556", "batch_size": 16, "max_tokens": 15000, "gpu_memory_utilization": 0.8, "max_model_len": 8192, "script": "nanonets-ocr2.py", "script_url": "https://huggingface.co/datasets/uv-...

Document OCR using Nanonets-OCR2-3B

This dataset contains markdown-formatted OCR results from images in davanstrien/ufo-ColPali using Nanonets-OCR2-3B.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 15,000
  • GPU Memory Utilization: 80.0%

Model Information

Nanonets-OCR2-3B is a state-of-the-art document OCR model that excels at:

  • 📐 LaTeX equations - Mathematical formulas preserved in LaTeX format
  • 📊 Tables - Extracted and formatted as HTML
  • 📝 Document structure - Headers, lists, and formatting maintained
  • 🖼️ Images - Captions and descriptions included in <img> tags
  • ☑️ Forms - Checkboxes rendered as ☐/☑
  • 🔖 Watermarks - Wrapped in <watermark> tags
  • 📄 Page numbers - Wrapped in <page_number> tags
  • 🌍 Multilingual - Supports multiple languages

Dataset Structure

The dataset contains all original columns plus:

  • markdown: The extracted text in markdown format with preserved structure
  • 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 Nanonets OCR2 script:

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/nanonets-ocr2.py \
    davanstrien/ufo-ColPali \
    <output-dataset> \
    --model nanonets/Nanonets-OCR2-3B \
    --image-column image \
    --batch-size 16 \
    --max-model-len 8192 \
    --max-tokens 15000 \
    --gpu-memory-utilization 0.8

Performance

  • Processing Speed: ~0.0 images/second
  • GPU Configuration: vLLM with 80% GPU memory utilization

Generated with 🤖 UV Scripts

Downloads last month
10