Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
596
596
raw_queries
listlengths
1
1
broad_topical_query
stringclasses
10 values
broad_topical_explanation
stringclasses
10 values
specific_detail_query
stringclasses
10 values
specific_detail_explanation
stringclasses
10 values
visual_element_query
stringclasses
9 values
visual_element_explanation
stringclasses
10 values
parsed_into_json
bool
1 class
markdown
stringclasses
10 values
inference_info
stringclasses
1 value
[ "{\n \"broad_topical_query\": \"1954 Blue Book Project\",\n \"broad_topical_explanation\": \"This query targets the specific year and project mentioned in the document, which is likely to be a unique identifier for this document.\",\n \"specific_detail_query\": \"L'astronomie et la lune\",\n \"specific_detail_e...
1954 Blue Book Project
This query targets the specific year and project mentioned in the document, which is likely to be a unique identifier for this document.
L'astronomie et la lune
This query focuses on the specific topic of astronomy and the moon, which is a central theme in the document.
Page 0
This query references the page number, which is a unique identifier for this document within a larger corpus.
true
1954 text[[400, 125, 690, 141]] Projet "Blue Book" text[[422, 154, 555, 170]] TOP SECRET text[[235, 190, 715, 230]] Pourquoi les astronomes ne veulent pas parler de la lune text[[88, 249, 936, 333]] Dès villes qui croissent, des signaux lumineux, des explosions et des ombres géométriques étranges-oeoi et d'autre...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Document about the study of Alhazen's work on optics\",\n \"broad_topical_explanation\": \"This query focuses on the main subject of the document, which is the study of Alhazen's work on optics.\",\n \"specific_detail_query\": \"Alhazen's work on optics\",\n \"specific_detail_exp...
Document about the study of Alhazen's work on optics
This query focuses on the main subject of the document, which is the study of Alhazen's work on optics.
Alhazen's work on optics
This query targets a specific detail mentioned in the document, which is Alhazen's work on optics.
Document with a reference to Alhazen's work on optics
This query looks for a document that contains a reference to Alhazen's work on optics, which is a visual element in the document.
true
0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t 0t...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Document discussing radioactivity and celestial phenomena\",\n \"broad_topical_explanation\": \"This query covers the main subject of the document, which is the study of radioactivity and its effects on celestial phenomena.\",\n \"specific_detail_query\": \"Observations of radioac...
Document discussing radioactivity and celestial phenomena
This query covers the main subject of the document, which is the study of radioactivity and its effects on celestial phenomena.
Observations of radioactivity during solar eclipses
This query focuses on a specific fact mentioned in the document, which is the observation of radioactivity during solar eclipses.
Document page with text in French
This query refers to the visual element of the document page, which contains text in French, indicating that the document is likely in French and contains text related to the topics mentioned.
true
1'interieur.Vous remerquerez plusieurs larges toches qui chon- gent de dimension et de forme d'une nuit a l'autre.Il y en e une pres du centre de Ptolemee,des toches dans Platon,aristarchus, Schickerd,Hyginus et d'autres chongent regulierement.A l'oeil nu vous pouvez voir une teche sombre a l'est d'Aristorohus.Photogra...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Science fiction journal articles on lunar eclipses and astronomy\",\n \"broad_topical_explanation\": \"This query covers the main subject of the document, which is the observation and description of lunar eclipses and related astronomical phenomena.\",\n \"specific_detail_query\":...
Science fiction journal articles on lunar eclipses and astronomy
This query covers the main subject of the document, which is the observation and description of lunar eclipses and related astronomical phenomena.
200 years ago, Sir John Herschel reported on lunar eclipses
This query focuses on a specific historical event mentioned in the document, which would be a key detail for someone searching for this particular report.
A page from a science fiction journal
This query refers to the visual element of the document, which is a page from a science fiction journal. It would be effective for someone looking for documents with similar visual characteristics.
true
12 text[[75, 117, 870, 245]] Des choses qui pourraient être prises pour des Gloubrations d'un journal de science-fiction se présent là.Prenez l'Année de l'Enore.Au cours de la mime nuit des points,comme des gouttes d'encre approuvrent dans Plinius et Copernious.Quelques semaines plus tard un immense objet aussi noir q...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Document about the history and observations of the Moon\",\n \"broad_topical_explanation\": \"This query covers the main subject of the document, which is the history and observations of the Moon.\",\n \"specific_detail_query\": \"Observations of the Moon by Aristarchus\",\n \"sp...
Document about the history and observations of the Moon
This query covers the main subject of the document, which is the history and observations of the Moon.
Observations of the Moon by Aristarchus
This query focuses on a specific fact mentioned in the document, which is the observations of the Moon by Aristarchus.
Image of the Moon
This query refers to the image of the Moon mentioned in the document, which is a visual element that could be used to retrieve the document.
true
13 text[[133, 133, 936, 203]] dérées comme fumisterie.Personne ne lui demande ce qu'il buvait ces jours là,ou bien s'il prierit ou fumait?En fait,quelques es- prits ouverts célèrent eussi loin que de regarder pour eux-mêmes et ils virent les lumières eux-mêmes.Il y a beaucoup à dire eu sujet du Bon Vieux Temps. text...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Observations of lunar eclipses and their effects on the Moon\",\n \"broad_topical_explanation\": \"This query covers the main subject of the document, which is the observation of lunar eclipses and their impact on the Moon.\",\n \"specific_detail_query\": \"The Moon is described a...
Observations of lunar eclipses and their effects on the Moon
This query covers the main subject of the document, which is the observation of lunar eclipses and their impact on the Moon.
The Moon is described as being in a state of suspension due to the attraction of the Earth
This query focuses on a specific fact mentioned in the document, which is the suspension of the Moon due to the Earth's attraction.
Image of the Moon and Earth
This query refers to the visual element in the document, which is an image of the Moon and Earth, indicating the topic of the document.
true
14 text[[78, 130, 895, 303]] souvent observés au cours d'éolipes, de même que des esodorilles d'objets oliviers et sombres qui semblent monoevrer dans le ciel lunaire. Au cours de l'éolipse du 16 Novembre 1910, une vive lumière luit sur le lune et des observatoires de deux point très distants l'un de l'autre virent un...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Document about the Moon's gravitational effect on Earth\",\n \"broad_topical_explanation\": \"This query focuses on the main topic of the document, which is the gravitational influence of the Moon on Earth.\",\n \"specific_detail_query\": \"The Moon's gravitational effect on Earth...
Document about the Moon's gravitational effect on Earth
This query focuses on the main topic of the document, which is the gravitational influence of the Moon on Earth.
The Moon's gravitational effect on Earth
This query targets a specific detail mentioned in the document, which is the Moon's gravitational effect on Earth.
Document with a table or chart
This query is based on the presence of a table or chart in the document, which is not visible in the image provided. If the document contains such a visual element, this query would be effective in retrieving it.
true
15 text[[137, 125, 900, 158]] deveient être reacoulées. Vous ne pouvez faire confiance à la Luhe. text[[137, 170, 950, 330]] L'attraction des marées freine le rotation de la Terre de façon infime, mais ce n'est rien comportivement à ce que le gravité plus grande de la Terre a fait à la Lune. Nous avons attiré vers ...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Document about the influence of the moon on human behavior\",\n \"broad_topical_explanation\": \"This query covers the main subject of the document, which is the influence of the moon on human behavior.\",\n \"specific_detail_query\": \"Document mentioning Duke University and its ...
Document about the influence of the moon on human behavior
This query covers the main subject of the document, which is the influence of the moon on human behavior.
Document mentioning Duke University and its research on the moon
This query focuses on a specific detail from the document, which is the mention of Duke University and its research on the moon.
Document with a table or chart about the moon's influence
This query refers to a visual element in the document, which is a table or chart about the moon's influence.
true
16 text[[75, 130, 888, 220]] L'homme a toujours rendu la Lune coupable de ses propres bêtises. Le mot lunetique vient de Lun. Planter et récolter devait se fê- re suivant les phases de la Lune. Il en était de même pour les assassinats et les 0000000000000000000000000000000000000000000000000000000000000000000000000000...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Document about the Moon and its effects on human behavior\",\n \"broad_topical_explanation\": \"This query covers the main subject of the document, which is the Moon's influence on human behavior and the strange occurrences that might be attributed to it.\",\n \"specific_detail_qu...
Document about the Moon and its effects on human behavior
This query covers the main subject of the document, which is the Moon's influence on human behavior and the strange occurrences that might be attributed to it.
Richard Burton as a translator for 'Mille et Une Nuits'
This query focuses on a specific detail mentioned in the document, which is Richard Burton's role as a translator for 'Mille et Une Nuits'.
Document page with text in French
This query refers to the visual element of the document page, which is a document page with text in French. This could be effective in retrieving the document if the search engine has image recognition capabilities.
true
17 text[[128, 130, 944, 188]] Le prochaine fois que votre femme trouvera dans votre carnet le numéro de téléphone d'une blonde,expliquez-lui que vous n'êtes pas responsable étant donné qu'il y a pleine Lune. Si celle morale faites-le nous savoir. text[[128, 199, 955, 315]] Si tout ceci esote votre curiosité et si vo...
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...
[ "{\n \"broad_topical_query\": \"Blank document page\",\n \"broad_topical_explanation\": \"This query is effective because it covers the main subject of the document, which is the blank page itself.\",\n \"specific_detail_query\": \"Blank document page with a small tear on the left edge\",\n \"specific_detail_ex...
Blank document page
This query is effective because it covers the main subject of the document, which is the blank page itself.
Blank document page with a small tear on the left edge
This query is effective because it focuses on a specific detail of the document, which can help in identifying documents with similar characteristics.
Blank document page
This query is effective because it refers to the visual element of the document, which can be useful in retrieving documents with similar visual characteristics.
true
1
[{"column_name": "markdown", "model_id": "deepseek-ai/DeepSeek-OCR", "processing_date": "2025-10-22T16:47:48.069543", "resolution_mode": "tiny", "base_size": 512, "image_size": 512, "crop_mode": false, "prompt": "<image>\n<|grounding|>Convert the document to markdown.", "batch_size": 8, "max_tokens": 8192, "gpu_memory_...

Document OCR using DeepSeek-OCR

This dataset contains markdown-formatted OCR results from images in davanstrien/ufo-ColPali using DeepSeek-OCR.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 8
  • Resolution Mode: tiny
  • Base Size: 512
  • Image Size: 512
  • Crop Mode: False
  • Max Model Length: 8,192 tokens
  • Max Output Tokens: 8,192
  • GPU Memory Utilization: 80.0%

Model Information

DeepSeek-OCR 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/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

Resolution Modes

  • Tiny (512×512): Fast processing, 64 vision tokens
  • Small (640×640): Balanced speed/quality, 100 vision tokens
  • Base (1024×1024): High quality, 256 vision tokens
  • Large (1280×1280): Maximum quality, 400 vision tokens
  • Gundam (dynamic): Adaptive multi-tile processing for large documents

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 DeepSeek OCR vLLM script:

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/deepseek-ocr-vllm.py \\
    davanstrien/ufo-ColPali \\
    <output-dataset> \\
    --resolution-mode tiny \\
    --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
30