The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'creation_year_earliest', 'creation_year_latest'}) and 2 missing columns ({'source_document', 'culture'}).
This happened while the json dataset builder was generating data using
hf://datasets/PKU-Alignment/ProgressGym-HistText/C015/Y01473.json (at revision 7e9b40a2806cb7756bbd88dba7a0d8a6bb34e0e0)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
creation_year_earliest: int64
creation_year: int64
source_dataset: string
creation_year_latest: int64
source_dataset_detailed: string
content: string
to
{'creation_year': Value(dtype='int64', id=None), 'source_dataset': Value(dtype='string', id=None), 'culture': Value(dtype='string', id=None), 'source_document': Value(dtype='string', id=None), 'source_dataset_detailed': Value(dtype='string', id=None), 'content': Value(dtype='string', id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1572, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1136, in stream_convert_to_parquet
builder._prepare_split(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 2 new columns ({'creation_year_earliest', 'creation_year_latest'}) and 2 missing columns ({'source_document', 'culture'}).
This happened while the json dataset builder was generating data using
hf://datasets/PKU-Alignment/ProgressGym-HistText/C015/Y01473.json (at revision 7e9b40a2806cb7756bbd88dba7a0d8a6bb34e0e0)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
creation_year
int64 | source_dataset
string | culture
string | source_document
string | source_dataset_detailed
string | content
string |
|---|---|---|---|---|---|
1,221
|
gutenberg
|
English
|
gutenberg - Heimskringla; Or, The Chronicle of the Kings of Norway
| "Produced by Douglas B. Killings\nHEIMSKRINGLA\nOR\nTHE CHRONICLE OF THE KINGS OF NORWAY\nBy Snorri (...TRUNCATED)
|
|
1,221
|
gutenberg
|
Finnish
|
gutenberg - Edda
| "Produced by Juha Kiuru\nEDDA\nTaruopillinen alkuosa\nGylfin harhanäky (Gylfaginning)\nKirj.\nSNORR(...TRUNCATED)
|
|
1,221
|
gutenberg
|
Finnish
|
gutenberg - Kuningastarinoita
| "Produced by Tapio Riikonen\nKUNINGASTARINOITA\nKirj.\nSnorri Sturluson\nNorjan kielestä lyhentäen(...TRUNCATED)
|
|
1,221
|
gutenberg
|
English
|
gutenberg - The Younger Edda
| "Produced by Louise Hope, R. Cedron and the Online\n THE YOUNGER EDDA:\n SNORRE(...TRUNCATED)
|
|
1,221
|
gutenberg
|
English
|
gutenberg - The Sagas of Olaf Tryggvason and of Harald The Tyrant (Harald Haardraade)
| "Produced by Louise Hope, Charlene Taylor, Ted Garvin and\nthe Online Distributed Proofreading Team (...TRUNCATED)
|
|
1,254
|
gutenberg
|
English
|
gutenberg - Summa Theologica, Part III (Tertia Pars)
| "Produced by Sandra K. Perry, with corrections and\nsupplementation by David McClamrock\nSUMMA THEOL(...TRUNCATED)
|
|
1,254
|
gutenberg
|
English
|
gutenberg - Summa Theologica, Part I (Prima Pars)
| "Produced by Sandra K. Perry, with corrections and\nsupplementation by David McClamrock\nST. THOMAS (...TRUNCATED)
|
|
1,254
|
gutenberg
|
English
|
gutenberg - Summa Theologica, Part II-II (Secunda Secundae)
| "Produced by Sandra K. Perry, with corrections and\nsupplementation by David McClamrock\nSUMMA THEOL(...TRUNCATED)
|
|
1,254
|
gutenberg
|
English
|
gutenberg - Summa Theologica, Part I-II (Pars Prima Secundae)
| "E-text prepared by Sandra K. Perry, with corrections and supplementation\nby David McClamrock\nSUMM(...TRUNCATED)
|
|
1,254
|
gutenberg
|
English
|
gutenberg - On prayer and the contemplative life
| "Produced by Charlene Taylor, Ted Garvin, David King, and\nthe Online Distributed Proofreading Team (...TRUNCATED)
|
End of preview.