Dataset Preview
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 8 new columns ({'reason', 'tokens', 'end_token', 'start_token', 'annotation_tokens', 'text', 'label', 'annotation'}) and 2 missing columns ({'token', 'index'}).
This happened while the json dataset builder was generating data using
hf://datasets/SamH1999/fintech-ai-annotations/annotated_fintech/tushare/test/bar_test_annotations.json (at revision 1a32a1a6e21c7261b91422f716a66403a1d58085)
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 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, 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 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
line: int64
text: string
annotation: string
confidence: double
tokens: list<item: int64>
child 0, item: int64
start_token: int64
end_token: int64
annotation_tokens: list<item: int64>
child 0, item: int64
label: string
reason: string
severity: string
-- schema metadata --
pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 1435
to
{'line': Value('int64'), 'token': Value('int64'), 'index': Value('int64'), 'confidence': Value('float64'), 'severity': Value('string')}
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 1456, 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 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, 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 1702, 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 1833, 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 8 new columns ({'reason', 'tokens', 'end_token', 'start_token', 'annotation_tokens', 'text', 'label', 'annotation'}) and 2 missing columns ({'token', 'index'}).
This happened while the json dataset builder was generating data using
hf://datasets/SamH1999/fintech-ai-annotations/annotated_fintech/tushare/test/bar_test_annotations.json (at revision 1a32a1a6e21c7261b91422f716a66403a1d58085)
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.
line int64 | token int64 | index int64 | confidence float64 | severity null |
|---|---|---|---|---|
6 | 11,748 | 0 | 1 | null |
6 | 555 | 1 | 1 | null |
6 | 715 | 2 | 1 | null |
6 | 395 | 3 | 1 | null |
7 | 11,748 | 0 | 0 | null |
7 | 256 | 1 | 0 | null |
7 | 1,530 | 2 | 0 | null |
7 | 533 | 3 | 0 | null |
7 | 13 | 4 | 0.5 | null |
7 | 13,578 | 5 | 0.5 | null |
7 | 13 | 6 | 0.5 | null |
7 | 2,213 | 7 | 0.5 | null |
7 | 4,980 | 8 | 0.5 | null |
7 | 355 | 9 | 0.5 | null |
7 | 277 | 10 | 0.5 | null |
7 | 67 | 11 | 0.5 | null |
7 | 11,748 | 0 | 0 | null |
7 | 256 | 1 | 0 | null |
7 | 1,530 | 2 | 0 | null |
7 | 533 | 3 | 0 | null |
7 | 13 | 4 | 0 | null |
7 | 13,578 | 5 | 0 | null |
7 | 13 | 6 | 0 | null |
7 | 2,213 | 7 | 0 | null |
7 | 4,980 | 8 | 0 | null |
7 | 355 | 9 | 0 | null |
7 | 277 | 10 | 0 | null |
7 | 67 | 11 | 0 | null |
9 | 4,871 | 0 | 0 | null |
9 | 6,208 | 1 | 0 | null |
9 | 7 | 2 | 0 | null |
9 | 403 | 3 | 0 | null |
9 | 715 | 4 | 0 | null |
9 | 395 | 5 | 0 | null |
9 | 13 | 6 | 0 | null |
9 | 14,402 | 7 | 0 | null |
9 | 20,448 | 8 | 0 | null |
9 | 2,599 | 9 | 0 | null |
11 | 220 | 0 | 0 | null |
11 | 220 | 1 | 0 | null |
11 | 220 | 2 | 0 | null |
11 | 825 | 3 | 0 | null |
11 | 900 | 4 | 0 | null |
11 | 62 | 5 | 0 | null |
11 | 7,890 | 6 | 0 | null |
11 | 7 | 7 | 0 | null |
11 | 944 | 8 | 0 | null |
11 | 2,599 | 9 | 0 | null |
13 | 220 | 0 | 0 | null |
13 | 220 | 1 | 0 | null |
13 | 220 | 2 | 0 | null |
13 | 220 | 3 | 0 | null |
13 | 220 | 4 | 0 | null |
13 | 220 | 5 | 0 | null |
13 | 220 | 6 | 0 | null |
13 | 2,116 | 7 | 0 | null |
13 | 13 | 8 | 0 | null |
13 | 9,688 | 9 | 0 | null |
13 | 796 | 10 | 0 | null |
13 | 10,148 | 11 | 0 | null |
15 | 220 | 0 | 0 | null |
15 | 220 | 1 | 0 | null |
15 | 220 | 2 | 0 | null |
15 | 220 | 3 | 0 | null |
15 | 220 | 4 | 0 | null |
15 | 220 | 5 | 0 | null |
15 | 220 | 6 | 0 | null |
15 | 220 | 7 | 0 | null |
13 | 220 | 0 | 0 | null |
13 | 220 | 1 | 0 | null |
13 | 220 | 2 | 0 | null |
13 | 220 | 3 | 0 | null |
13 | 220 | 4 | 0 | null |
13 | 220 | 5 | 0 | null |
13 | 220 | 6 | 0 | null |
13 | 2,116 | 7 | 0 | null |
13 | 13 | 8 | 0 | null |
13 | 9,688 | 9 | 0 | null |
13 | 796 | 10 | 0 | null |
13 | 10,148 | 11 | 0 | null |
15 | 220 | 0 | 0 | null |
15 | 220 | 1 | 0 | null |
15 | 220 | 2 | 0 | null |
15 | 220 | 3 | 0 | null |
15 | 220 | 4 | 0 | null |
15 | 220 | 5 | 0 | null |
15 | 220 | 6 | 0 | null |
15 | 220 | 7 | 0 | null |
16 | 220 | 0 | 0 | null |
16 | 220 | 1 | 0 | null |
16 | 220 | 2 | 0 | null |
16 | 825 | 3 | 0 | null |
16 | 1,332 | 4 | 0 | null |
16 | 62 | 5 | 0 | null |
16 | 5,657 | 6 | 0 | null |
16 | 62 | 7 | 0 | null |
16 | 7,890 | 8 | 0 | null |
16 | 7 | 9 | 0 | null |
16 | 944 | 10 | 0 | null |
16 | 2,599 | 11 | 0 | null |
End of preview.
No dataset card yet
- Downloads last month
- 16