kyleinincubated/autonlp-cat33-624317932
Text Classification
•
Updated
•
15
Error code: DatasetGenerationError Exception: ArrowNotImplementedError Message: Cannot write struct type '_format_kwargs' with no child field to Parquet. Consider adding a dummy child field. 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 583, in write_table self._build_writer(inferred_schema=pa_table.schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 404, in _build_writer self.pa_writer = self._WRITER_CLASS(self.stream, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__ self.writer = _parquet.ParquetWriter( File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__ File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Cannot write struct type '_format_kwargs' with no child field to Parquet. Consider adding a dummy child field. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2027, in _prepare_split_single num_examples, num_bytes = writer.finalize() File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 602, in finalize self._build_writer(self.schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 404, in _build_writer self.pa_writer = self._WRITER_CLASS(self.stream, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/pyarrow/parquet/core.py", line 1010, in __init__ self.writer = _parquet.ParquetWriter( File "pyarrow/_parquet.pyx", line 2157, in pyarrow._parquet.ParquetWriter.__cinit__ File "pyarrow/error.pxi", line 154, in pyarrow.lib.pyarrow_internal_check_status File "pyarrow/error.pxi", line 91, in pyarrow.lib.check_status pyarrow.lib.ArrowNotImplementedError: Cannot write struct type '_format_kwargs' with no child field to Parquet. Consider adding a dummy child field. 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 1529, 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 1154, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare self._prepare_split(split_generator, **prepare_split_kwargs) 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 2038, 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.
_data_files
list | _fingerprint
string | _format_columns
sequence | _format_kwargs
dict | _format_type
null | _indexes
dict | _output_all_columns
bool | _split
null |
---|---|---|---|---|---|---|---|
[
{
"filename": "dataset.arrow"
}
] | ef4ebf9507ff1942 | [
"target",
"text"
] | {} | null | {} | false | null |
This dataset has been automatically processed by AutoNLP for project cat33.
The BCP-47 code for the dataset's language is zh.
A sample from this dataset looks as follows:
[
{
"text": "\"\u5341\u56db\u4e94\"\u65f6\u671f\uff0c\u4f9d\u6258\u6d77\u5357\u5730\u7406\u533a\u4f4d\u4f18\u52bf\u548c\u6d77\u6d0b\u8d44\u6e90\u4f18\u52bf\uff0c\u52a0\u5feb\u57f9\u80b2\u58ee\u5927\u6d77\u6d0b\u7ecf\u6d4e\uff0c\u62d3\u5c55\u6d77\u5357\u7ecf\u6d4e\u53d1\u5c55\u84dd\u8272\u7a7a\u95f4\uff0c\u5bf9\u670d\u52a1\u6d77\u6d0b\u5f3a\u56fd\u6218\u7565\u3001\u63a8\u52a8\u6d77\u5357\u81ea\u7531\u8d38\u6613\u6e2f\u5efa\u8bbe\u53ca\u5b9e\u73b0\u81ea\u8eab\u53d1\u5c55\u5177\u6709\u91cd\u8981\u610f\u4e49",
"target": 9
},
{
"text": "\u9010\u6b65\u5b9e\u65bd\u533b\u7597\u5668\u68b0\u552f\u4e00\u6807\u8bc6\uff0c\u52a0\u5f3a\u4e0e\u533b\u7597\u7ba1\u7406\u3001\u533b\u4fdd\u7ba1\u7406\u7b49\u8854\u63a5",
"target": 8
}
]
The dataset has the following fields (also called "features"):
{
"text": "Value(dtype='string', id=None)",
"target": "ClassLabel(num_classes=32, names=['\u4e92\u8054\u7f51\u670d\u52a1', '\u4ea4\u901a\u8fd0\u8f93', '\u4f11\u95f2\u670d\u52a1', '\u4f20\u5a92', '\u4fe1\u606f\u6280\u672f', '\u516c\u7528\u4e8b\u4e1a', '\u519c\u4e1a', '\u5316\u5de5\u5236\u9020', '\u533b\u836f\u751f\u7269', '\u5546\u4e1a\u8d38\u6613', '\u56fd\u9632\u519b\u5de5', '\u5bb6\u7528\u7535\u5668', '\u5efa\u7b51\u4e1a', '\u623f\u5730\u4ea7', '\u6559\u80b2', '\u6587\u5316', '\u6709\u8272\u91d1\u5c5e', '\u673a\u68b0\u88c5\u5907\u5236\u9020', '\u6797\u4e1a', '\u6c7d\u8f66\u5236\u9020', '\u6e14\u4e1a', '\u7535\u5b50\u5236\u9020', '\u7535\u6c14\u8bbe\u5907', '\u755c\u7267\u4e1a', '\u7eba\u7ec7\u670d\u88c5\u5236\u9020', '\u8f7b\u5de5\u5236\u9020', '\u901a\u4fe1', '\u91c7\u77ff\u4e1a', '\u94a2\u94c1', '\u94f6\u884c', '\u975e\u94f6\u91d1\u878d', '\u98df\u54c1\u996e\u6599'], id=None)"
}
This dataset is split into a train and validation split. The split sizes are as follow:
Split name | Num samples |
---|---|
train | 1836 |
valid | 460 |