Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
paper_id: string
paper_url: string
pdf_url: string
status: string
processed_at: string
elapsed_seconds: double
num_pages: int64
num_pages_processed: int64
max_pages_per_paper: int64
pdf_exceeds_page_limit: bool
failed_pages: list<item: null>
  child 0, item: null
prompt_type: string
model_id: string
script_version: timestamp[s]
markdown: string
html: string
page_stats: list<item: struct<page_number: int64, error: bool, token_count: int64, num_chunks: int64>>
  child 0, item: struct<page_number: int64, error: bool, token_count: int64, num_chunks: int64>
      child 0, page_number: int64
      child 1, error: bool
      child 2, token_count: int64
      child 3, num_chunks: int64
error_message: string
to
{'paper_id': Value('string'), 'paper_url': Value('string'), 'pdf_url': Value('string'), 'status': Value('string'), 'processed_at': Value('string'), 'elapsed_seconds': Value('float64'), 'num_pages': Value('int64'), 'num_pages_processed': Value('int64'), 'max_pages_per_paper': Value('int64'), 'pdf_exceeds_page_limit': Value('bool'), 'failed_pages': List(Value('null')), 'prompt_type': Value('string'), 'model_id': Value('string'), 'script_version': Value('timestamp[s]'), 'markdown': Value('string'), 'html': Value('string'), 'page_stats': List({'page_number': Value('int64'), 'error': Value('bool'), 'token_count': Value('int64'), 'num_chunks': Value('int64')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1872, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 265, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 120, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              paper_id: string
              paper_url: string
              pdf_url: string
              status: string
              processed_at: string
              elapsed_seconds: double
              num_pages: int64
              num_pages_processed: int64
              max_pages_per_paper: int64
              pdf_exceeds_page_limit: bool
              failed_pages: list<item: null>
                child 0, item: null
              prompt_type: string
              model_id: string
              script_version: timestamp[s]
              markdown: string
              html: string
              page_stats: list<item: struct<page_number: int64, error: bool, token_count: int64, num_chunks: int64>>
                child 0, item: struct<page_number: int64, error: bool, token_count: int64, num_chunks: int64>
                    child 0, page_number: int64
                    child 1, error: bool
                    child 2, token_count: int64
                    child 3, num_chunks: int64
              error_message: string
              to
              {'paper_id': Value('string'), 'paper_url': Value('string'), 'pdf_url': Value('string'), 'status': Value('string'), 'processed_at': Value('string'), 'elapsed_seconds': Value('float64'), 'num_pages': Value('int64'), 'num_pages_processed': Value('int64'), 'max_pages_per_paper': Value('int64'), 'pdf_exceeds_page_limit': Value('bool'), 'failed_pages': List(Value('null')), 'prompt_type': Value('string'), 'model_id': Value('string'), 'script_version': Value('timestamp[s]'), 'markdown': Value('string'), 'html': Value('string'), 'page_stats': List({'page_number': Value('int64'), 'error': Value('bool'), 'token_count': Value('int64'), 'num_chunks': Value('int64')})}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1347, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 980, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 884, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 947, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1739, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1922, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

paper_id
string
paper_url
string
pdf_url
string
status
string
processed_at
string
elapsed_seconds
float64
num_pages
int64
num_pages_processed
int64
max_pages_per_paper
int64
pdf_exceeds_page_limit
bool
failed_pages
list
prompt_type
string
model_id
string
script_version
timestamp[s]
markdown
string
html
string
page_stats
list
0704.0001
https://arxiv.org/abs/0704.0001
https://arxiv.org/pdf/0704.0001.pdf
success
2026-03-29T17:39:41.693769+00:00
213.17
37
30
30
true
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Calculation of prompt diphoton production cross sections at Tevatron and LHC energies\n\nC. Balá(...TRUNCATED)
"<h1>Calculation of prompt diphoton production cross sections at Tevatron and LHC energies</h1>\n\n<(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":1133,"num_chunks":16},{"page_number":2,"error":false,"(...TRUNCATED)
0704.0014
https://arxiv.org/abs/0704.0014
https://arxiv.org/pdf/0704.0014.pdf
success
2026-03-29T17:41:33.585116+00:00
111.88
18
18
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Iterated integrals and the loop product\n\nKoichi Fujii\n\n## 1 Introduction\n\nThe purpose of th(...TRUNCATED)
"<h1>Iterated integrals and the loop product</h1>\n\n<p>Koichi Fujii</p>\n\n<h2>1 Introduction</h2>\(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":1270,"num_chunks":16},{"page_number":2,"error":false,"(...TRUNCATED)
0704.0404
https://arxiv.org/abs/0704.0404
https://arxiv.org/pdf/0704.0404.pdf
success
2026-03-29T17:43:04.269950+00:00
90.68
19
19
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# To the origin of the difference of FSI phases in $B \\rightarrow \\pi\\pi$ and $B \\rightarrow \\(...TRUNCATED)
"<h1>To the origin of the difference of FSI phases in<br/><math>B \\rightarrow \\pi\\pi</math> and <(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":977,"num_chunks":13},{"page_number":2,"error":false,"t(...TRUNCATED)
0704.0526
https://arxiv.org/abs/0704.0526
https://arxiv.org/pdf/0704.0526.pdf
success
2026-03-29T17:43:52.952410+00:00
48.68
11
11
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# FRACTIONAL WKB APPROXIMATION\n\nEqab M. Rabei\\* and Ibrahim M.A. Altarazi\n\nDepartment of physi(...TRUNCATED)
"<h1>FRACTIONAL WKB APPROXIMATION</h1><p>Eqab M. Rabei* and Ibrahim M.A. Altarazi</p><p>Department o(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":739,"num_chunks":16},{"page_number":2,"error":false,"t(...TRUNCATED)
0704.0988
https://arxiv.org/abs/0704.0988
https://arxiv.org/pdf/0704.0988.pdf
success
2026-03-29T17:46:09.408938+00:00
136.46
34
30
30
true
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Evidence for a Massive Protocluster in S255N\n\nC.J. Cyganowski<sup>1</sup>, C.L. Brogan<sup>2</s(...TRUNCATED)
"<h1>Evidence for a Massive Protocluster in S255N</h1>\n\n<p>C.J. Cyganowski<sup>1</sup>, C.L. Broga(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":1030,"num_chunks":10},{"page_number":2,"error":false,"(...TRUNCATED)
0705.1617
https://arxiv.org/abs/0705.1617
https://arxiv.org/pdf/0705.1617.pdf
success
2026-03-29T17:46:57.302580+00:00
47.88
10
10
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Non-Computability of Consciousness\n\nDaegene Song\\*\n\nOctober 22, 2018\n\n## Abstract\n\nWith (...TRUNCATED)
"<h1>Non-Computability of Consciousness</h1>\n\n<p>Daegene Song*</p>\n\n<p>October 22, 2018</p>\n\n<(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":845,"num_chunks":11},{"page_number":2,"error":false,"t(...TRUNCATED)
0705.3870
https://arxiv.org/abs/0705.3870
https://arxiv.org/pdf/0705.3870.pdf
success
2026-03-29T17:48:35.599627+00:00
98.3
19
19
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Metallic AdS/CFT\n\nAndreas Karch and Andy O'Bannon\n\n*Department of Physics, University of Wash(...TRUNCATED)
"<h1>Metallic AdS/CFT</h1><p>Andreas Karch and Andy O'Bannon</p><p><i>Department of Physics, Univers(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":581,"num_chunks":8},{"page_number":2,"error":false,"to(...TRUNCATED)
0706.3585
https://arxiv.org/abs/0706.3585
https://arxiv.org/pdf/0706.3585.pdf
success
2026-03-29T17:49:45.571123+00:00
69.97
11
11
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Circular Polarization of Primordial Gravitational Waves in String-inspired Inflationary Cosmology(...TRUNCATED)
"<h1>Circular Polarization of Primordial Gravitational Waves<br/>in String-inspired Inflationary Cos(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":1645,"num_chunks":16},{"page_number":2,"error":false,"(...TRUNCATED)
0707.0535
https://arxiv.org/abs/0707.0535
https://arxiv.org/pdf/0707.0535.pdf
success
2026-03-29T17:50:50.612999+00:00
65.04
6
6
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# Measuring a Parity Violation Signature in the Early Universe via Ground-based Laser Interferomete(...TRUNCATED)
"<h1>Measuring a Parity Violation Signature in the Early Universe via Ground-based Laser Interferome(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":2004,"num_chunks":16},{"page_number":2,"error":false,"(...TRUNCATED)
0707.2234
https://arxiv.org/abs/0707.2234
https://arxiv.org/pdf/0707.2234.pdf
success
2026-03-29T17:53:56.539842+00:00
185.93
18
18
30
false
[]
ocr_layout
datalab-to/chandra-ocr-2
2026-03-29T00:00:00
"# State-dependent diffusion: thermodynamic consistency and its path integral formulation\n\nA.W.C. (...TRUNCATED)
"<h1>State-dependent diffusion: thermodynamic consistency and its path integral formulation</h1>\n\n(...TRUNCATED)
[{"page_number":1,"error":false,"token_count":1578,"num_chunks":14},{"page_number":2,"error":false,"(...TRUNCATED)
End of preview.

arXiv OCR with Chandra OCR 2

This output bundle stores OCR results for arXiv PDFs using datalab-to/chandra-ocr-2.

Summary

  • Output dataset: nielsr/arxiv-chandra-ocr-1000-20260329-p30
  • Output bucket: hf://buckets/nielsr/arxiv-chandra-ocr-1000-20260329-p30
  • Source paper IDs in input list: 27,584
  • Processed IDs recorded in state/processed_ids.txt: 610
  • Successes: 609
  • Partial successes: 0
  • Errors: 1
  • Next shard index: 61
  • Updated at: 2026-03-30T14:35:34.407965+00:00

Files

  • data/part-*.jsonl.gz: OCR result shards, one JSON object per paper
  • state/processed_ids.txt: completed paper IDs used for resume
  • state/summary.json: aggregate counters and bookkeeping

Each paper record includes:

  • num_pages: total number of pages in the source PDF
  • num_pages_processed: number of pages actually sent to OCR
  • pdf_exceeds_page_limit: whether the PDF had more pages than the configured OCR cap
  • max_pages_per_paper: configured OCR page cap for the run

Load the results

from datasets import load_dataset

dataset = load_dataset("nielsr/arxiv-chandra-ocr-1000-20260329-p30", data_files="data/*.jsonl.gz", split="train")
print(dataset[0]["paper_id"])
print(dataset[0]["markdown"][:1000])

Job config

  • Prompt type: ocr_layout
  • Page batch size: 16
  • Max output tokens: 12384
  • Max model length: 18000
  • GPU memory utilization: 0.85
  • Minimum arXiv request interval: 3.1 seconds
  • Max pages per paper sent to OCR: 30
  • Bucket backend: hf-cli
  • Paginate output: False
  • Include headers/footers: False

Reproduction

hf jobs uv run --flavor l4x1 --image vllm/vllm-openai:v0.17.0 \
  -s HF_TOKEN --timeout 2d \
  ./chandra2-arxiv-ocr.py --output-dataset nielsr/arxiv-chandra-ocr-1000-20260329-p30 \
  --output-bucket nielsr/arxiv-chandra-ocr-1000-20260329-p30 \
  --paper-ids-url https://.../hf_missing_paper_ids.txt
Downloads last month
204