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
AVRIL 1954 Projet :" Blue Book " TOP SECRET Pourquoi les astronomes ne veulent pas parler de la lune Des villes qui croissent, des signaux lumineux, des explosions et des ombres géométriques étrangèses-cocé et d'autres phénomènes inexpliquables par des lois montuelles connues ont intitulé cette observation sur ...
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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
Au moment où est artiole est écrit, L'anné a été transformé en une grande tache grise qui change de forme et de dimension. Seule le ciel seit ce qu'il sera au moment où vous lisez ceci... Au début du sibel de dernier l'astronome Schroerter étudie les ospirines de la Lune per le revenon et le retrait du bord ensoleillé...
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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
11 --- l'intérieur. Vous remarquerez plusieurs larges toches gmi chon-gent de dimension et de forme d'une nuit à l'autre, il y en a une bête. Trois petites toches de l'âge de Schickard, Hyginus et d'autres chongent régulièrement. À l'oeil du vous pouvez voir une toche sombre à l'est d'Aristeterius. Photogr-phie à la l...
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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
Des choses qui pourraient être prises pour des écluubres d'un joursel de solenope-fiction ne sont présents par la.Préndez l'Année de l'Enore. Au cours de la moine nuit des poi fumit,commençé gouttierien esonne,ouvert aut de P.Le P.Le P.
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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 souvent observés au cours d'éclipse, de même que des esondrilles d'aloeilée claire et sombre, semblent m'encouverter dans le ciel l'abricoire. Lui en cours de l'éclairement du Novembre 1910 une vitere distante, l'un de l'autre, et des observateurs de deux points très loin, l'un de l'autre, viennent une boule de lum...
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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 --- souvent être reçoillées. Vous ne pouvez faire confinements à la l'école claire et semblez de 16 décembre 1931 une vite bi
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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 --- L'homme o tourniers rendu la Lune comme treveure de ses propres vœts. Les mots de vient de Lune comme troublé et répondre l'éventuel fait se faire suivent et les mots éternent donné qu'il en pleine Lune. Si elle semble faite et le souffle. La pleine Lune était une exouse pour les violences et ke jour n'est peut...
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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 --- Le mot courbier fais que que votre femme me trevere de vous êtes. Le met n'essuie de t'idépter d'une blanche, expliquez lui si vous n'êtes pour les blocs pleins donné que qu'il en y pleine Lune. Si elle esseuse-le se svoire. Si tout cei esite votre ourisioit et si vous déoidez de posser votempe destudieur de Lu...
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]
[ "{\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
The text in the picture is: L'homme toujours jeuvre pour se faire bêtises. Le met lumière pour donner donné. Il en fait de plus pour les essuies. L'alimentation de l
[{"model_id": "tencent/HunyuanOCR", "column_name": "markdown", "timestamp": "2025-11-25T11:12:38.051020", "prompt_mode": "parse-document", "prompt_language": "en"}]

Document OCR using HunyuanOCR

This dataset contains OCR results from images in davanstrien/ufo-ColPali using HunyuanOCR, a lightweight 1B VLM from Tencent.

Processing Details

Configuration

  • Image Column: image
  • Output Column: markdown
  • Dataset Split: train
  • Batch Size: 16
  • Prompt Mode: parse-document
  • Prompt Language: English
  • Max Model Length: 16,384 tokens
  • Max Output Tokens: 16,384
  • GPU Memory Utilization: 80.0%

Model Information

HunyuanOCR is a lightweight 1B VLM that excels at:

  • 📝 Document Parsing - Full markdown extraction with reading order
  • 📊 Table Extraction - HTML format tables
  • 📐 Formula Recognition - LaTeX format formulas
  • 📈 Chart Parsing - Mermaid/Markdown format
  • 📍 Text Spotting - Detection with coordinates
  • 🔍 Information Extraction - Key-value, fields, subtitles
  • 🌐 Translation - Multilingual photo translation

Prompt Modes Available

  • parse-document - Full document parsing (default)
  • parse-formula - LaTeX formula extraction
  • parse-table - HTML table extraction
  • parse-chart - Chart/flowchart parsing
  • spot - Text detection with coordinates
  • extract-key - Extract specific key value
  • extract-fields - Extract multiple fields as JSON
  • extract-subtitles - Subtitle extraction
  • translate - Document translation

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

uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/hunyuan-ocr.py \
    davanstrien/ufo-ColPali \
    <output-dataset> \
    --image-column image \
    --batch-size 16 \
    --prompt-mode parse-document \
    --max-model-len 16384 \
    --max-tokens 16384 \
    --gpu-memory-utilization 0.8

Generated with UV Scripts

Downloads last month
22