Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
bbox_norm: list<item: int64>
child 0, item: int64
crop_index: null
date: timestamp[s]
document_id: string
duration_s: double
error: null
finish_reason: string
input_image_sha256: string
ocr_json_path: string
ocr_markdown_path: string
ocr_unit_type: string
output_chars: int64
page_index_zero_based: int64
page_number: int64
period_bucket: string
position_label: string
source_collection: string
status: string
unit_index: int64
usage: struct<completion_tokens: int64, completion_tokens_details: null, prompt_tokens: int64, prompt_token (... 37 chars omitted)
child 0, completion_tokens: int64
child 1, completion_tokens_details: null
child 2, prompt_tokens: int64
child 3, prompt_tokens_details: null
child 4, total_tokens: int64
year: int64
source_page_count: int64
toc_id: string
theme: string
source_collection_rules: list<item: struct<period_bucket: string, source_collection: string, year_end: int64, year_start: int (... 4 chars omitted)
child 0, item: struct<period_bucket: string, source_collection: string, year_end: int64, year_start: int64>
child 0, period_bucket: string
child 1, source_collection: string
child 2, year_end: int64
child 3, year_start: int64
page_count: int64
category: string
date_compact: string
source_pdf_path: string
source_metadata_path: string
content_id: string
agency: string
search_key: null
ocr_engine: string
ocr_unit_count: int64
rendered_page_dir: string
correction_status: string
source_pdf_sha256: string
ocr_pipeline: string
render_dpi: int64
ocr_settings: struct<denoise: bool, enable_thinking: bool, layout: string, max_tokens: int64, ocr_mode: string, oc (... 113 chars omitted)
child 0, denoise: bool
child 1, enable_thinking: bool
child 2, layout: string
child 3, max_tokens: int64
child 4, ocr_mode: string
child 5, ocr_unit_type: string
child 6, presence_penalty: double
child 7, temperature: double
child 8, top_k: int64
child 9, top_p: double
child 10, upscale: double
source_url: string
created_at: string
title: string
crop_count: int64
source_pdf_size_bytes: int64
ocr_model: string
throughput: struct<completion_tokens: int64, crops_per_sec: int64, ocr_duration_s: double, pages_per_sec: double (... 95 chars omitted)
child 0, completion_tokens: int64
child 1, crops_per_sec: int64
child 2, ocr_duration_s: double
child 3, pages_per_sec: double
child 4, prompt_tokens: int64
child 5, request_concurrency: int64
child 6, total_tokens: int64
child 7, units_per_sec: double
viewer_path: string
render_max_pages: null
to
{'agency': Value('string'), 'category': Value('string'), 'content_id': Value('string'), 'correction_status': Value('string'), 'created_at': Value('string'), 'crop_count': Value('int64'), 'date': Value('timestamp[s]'), 'date_compact': Value('string'), 'document_id': Value('string'), 'ocr_engine': Value('string'), 'ocr_markdown_path': Value('string'), 'ocr_model': Value('string'), 'ocr_pipeline': Value('string'), 'ocr_settings': {'denoise': Value('bool'), 'enable_thinking': Value('bool'), 'layout': Value('string'), 'max_tokens': Value('int64'), 'ocr_mode': Value('string'), 'ocr_unit_type': Value('string'), 'presence_penalty': Value('float64'), 'temperature': Value('float64'), 'top_k': Value('int64'), 'top_p': Value('float64'), 'upscale': Value('float64')}, 'ocr_unit_count': Value('int64'), 'page_count': Value('int64'), 'period_bucket': Value('string'), 'render_dpi': Value('int64'), 'render_max_pages': Value('null'), 'rendered_page_dir': Value('string'), 'search_key': Value('null'), 'source_collection': Value('string'), 'source_collection_rules': List({'period_bucket': Value('string'), 'source_collection': Value('string'), 'year_end': Value('int64'), 'year_start': Value('int64')}), 'source_metadata_path': Value('string'), 'source_page_count': Value('int64'), 'source_pdf_path': Value('string'), 'source_pdf_sha256': Value('string'), 'source_pdf_size_bytes': Value('int64'), 'source_url': Value('string'), 'theme': Value('string'), 'throughput': {'completion_tokens': Value('int64'), 'crops_per_sec': Value('int64'), 'ocr_duration_s': Value('float64'), 'pages_per_sec': Value('float64'), 'prompt_tokens': Value('int64'), 'request_concurrency': Value('int64'), 'total_tokens': Value('int64'), 'units_per_sec': Value('float64')}, 'title': Value('string'), 'toc_id': Value('string'), 'viewer_path': Value('string'), 'year': Value('int64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, 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 128, 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 2321, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
bbox_norm: list<item: int64>
child 0, item: int64
crop_index: null
date: timestamp[s]
document_id: string
duration_s: double
error: null
finish_reason: string
input_image_sha256: string
ocr_json_path: string
ocr_markdown_path: string
ocr_unit_type: string
output_chars: int64
page_index_zero_based: int64
page_number: int64
period_bucket: string
position_label: string
source_collection: string
status: string
unit_index: int64
usage: struct<completion_tokens: int64, completion_tokens_details: null, prompt_tokens: int64, prompt_token (... 37 chars omitted)
child 0, completion_tokens: int64
child 1, completion_tokens_details: null
child 2, prompt_tokens: int64
child 3, prompt_tokens_details: null
child 4, total_tokens: int64
year: int64
source_page_count: int64
toc_id: string
theme: string
source_collection_rules: list<item: struct<period_bucket: string, source_collection: string, year_end: int64, year_start: int (... 4 chars omitted)
child 0, item: struct<period_bucket: string, source_collection: string, year_end: int64, year_start: int64>
child 0, period_bucket: string
child 1, source_collection: string
child 2, year_end: int64
child 3, year_start: int64
page_count: int64
category: string
date_compact: string
source_pdf_path: string
source_metadata_path: string
content_id: string
agency: string
search_key: null
ocr_engine: string
ocr_unit_count: int64
rendered_page_dir: string
correction_status: string
source_pdf_sha256: string
ocr_pipeline: string
render_dpi: int64
ocr_settings: struct<denoise: bool, enable_thinking: bool, layout: string, max_tokens: int64, ocr_mode: string, oc (... 113 chars omitted)
child 0, denoise: bool
child 1, enable_thinking: bool
child 2, layout: string
child 3, max_tokens: int64
child 4, ocr_mode: string
child 5, ocr_unit_type: string
child 6, presence_penalty: double
child 7, temperature: double
child 8, top_k: int64
child 9, top_p: double
child 10, upscale: double
source_url: string
created_at: string
title: string
crop_count: int64
source_pdf_size_bytes: int64
ocr_model: string
throughput: struct<completion_tokens: int64, crops_per_sec: int64, ocr_duration_s: double, pages_per_sec: double (... 95 chars omitted)
child 0, completion_tokens: int64
child 1, crops_per_sec: int64
child 2, ocr_duration_s: double
child 3, pages_per_sec: double
child 4, prompt_tokens: int64
child 5, request_concurrency: int64
child 6, total_tokens: int64
child 7, units_per_sec: double
viewer_path: string
render_max_pages: null
to
{'agency': Value('string'), 'category': Value('string'), 'content_id': Value('string'), 'correction_status': Value('string'), 'created_at': Value('string'), 'crop_count': Value('int64'), 'date': Value('timestamp[s]'), 'date_compact': Value('string'), 'document_id': Value('string'), 'ocr_engine': Value('string'), 'ocr_markdown_path': Value('string'), 'ocr_model': Value('string'), 'ocr_pipeline': Value('string'), 'ocr_settings': {'denoise': Value('bool'), 'enable_thinking': Value('bool'), 'layout': Value('string'), 'max_tokens': Value('int64'), 'ocr_mode': Value('string'), 'ocr_unit_type': Value('string'), 'presence_penalty': Value('float64'), 'temperature': Value('float64'), 'top_k': Value('int64'), 'top_p': Value('float64'), 'upscale': Value('float64')}, 'ocr_unit_count': Value('int64'), 'page_count': Value('int64'), 'period_bucket': Value('string'), 'render_dpi': Value('int64'), 'render_max_pages': Value('null'), 'rendered_page_dir': Value('string'), 'search_key': Value('null'), 'source_collection': Value('string'), 'source_collection_rules': List({'period_bucket': Value('string'), 'source_collection': Value('string'), 'year_end': Value('int64'), 'year_start': Value('int64')}), 'source_metadata_path': Value('string'), 'source_page_count': Value('int64'), 'source_pdf_path': Value('string'), 'source_pdf_sha256': Value('string'), 'source_pdf_size_bytes': Value('int64'), 'source_url': Value('string'), 'theme': Value('string'), 'throughput': {'completion_tokens': Value('int64'), 'crops_per_sec': Value('int64'), 'ocr_duration_s': Value('float64'), 'pages_per_sec': Value('float64'), 'prompt_tokens': Value('int64'), 'request_concurrency': Value('int64'), 'total_tokens': Value('int64'), 'units_per_sec': Value('float64')}, 'title': Value('string'), 'toc_id': Value('string'), 'viewer_path': Value('string'), 'year': Value('int64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
No dataset card yet
- Downloads last month
- 3,076