pavanBuduguppa/asr_inverse_text_normalization
Text2Text Generation
•
Updated
•
8
•
1
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 missing columns ({'class', 'after'}) This happened while the csv dataset builder was generating data using hf://datasets/pavanBuduguppa/asr_inverse_text_normalization/en_test.csv (at revision fa22f3601622d7b6a5581284e2d79fd8f9d13929) 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 sentence_id: int64 token_id: int64 before: string -- schema metadata -- pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 607 to {'sentence_id': Value(dtype='int64', id=None), 'token_id': Value(dtype='int64', id=None), 'class': Value(dtype='string', id=None), 'before': Value(dtype='string', id=None), 'after': 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 1321, 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 935, 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 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 missing columns ({'class', 'after'}) This happened while the csv dataset builder was generating data using hf://datasets/pavanBuduguppa/asr_inverse_text_normalization/en_test.csv (at revision fa22f3601622d7b6a5581284e2d79fd8f9d13929) 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.
sentence_id
int64 | token_id
int64 | class
string | before
string | after
string |
---|---|---|---|---|
0 | 0 | PLAIN | Brillantaisia | Brillantaisia |
0 | 1 | PLAIN | is | is |
0 | 2 | PLAIN | a | a |
0 | 3 | PLAIN | genus | genus |
0 | 4 | PLAIN | of | of |
0 | 5 | PLAIN | plant | plant |
0 | 6 | PLAIN | in | in |
0 | 7 | PLAIN | family | family |
0 | 8 | PLAIN | Acanthaceae | Acanthaceae |
0 | 9 | PUNCT | . | . |
1 | 0 | DATE | 2006 | two thousand six |
1 | 1 | LETTERS | IUCN | i u c n |
1 | 2 | PLAIN | Red | Red |
1 | 3 | PLAIN | List | List |
1 | 4 | PLAIN | of | of |
1 | 5 | PLAIN | Threatened | Threatened |
1 | 6 | PLAIN | Species | Species |
1 | 7 | PUNCT | . | . |
2 | 0 | PLAIN | Circa | Circa |
2 | 1 | PLAIN | Survive | Survive |
2 | 2 | PLAIN | draw | draw |
2 | 3 | PLAIN | influences | influences |
2 | 4 | PLAIN | from | from |
2 | 5 | PLAIN | soft | soft |
2 | 6 | PLAIN | rock | rock |
2 | 7 | PUNCT | , | , |
2 | 8 | PLAIN | post | post |
2 | 9 | PLAIN | hardcore | hardcore |
2 | 10 | PUNCT | , | , |
2 | 11 | PLAIN | experimental | experimental |
2 | 12 | PLAIN | rock | rock |
2 | 13 | PUNCT | , | , |
2 | 14 | PLAIN | emo | emo |
2 | 15 | PUNCT | , | , |
2 | 16 | PLAIN | progressive | progressive |
2 | 17 | PLAIN | rock | rock |
2 | 18 | PUNCT | , | , |
2 | 19 | PLAIN | art | art |
2 | 20 | PLAIN | rock | rock |
2 | 21 | PUNCT | , | , |
2 | 22 | PLAIN | and | and |
2 | 23 | PLAIN | pop | pop |
2 | 24 | PLAIN | musicians | musicians |
2 | 25 | PUNCT | . | . |
3 | 0 | PLAIN | Circa | Circa |
3 | 1 | PLAIN | Survive | Survive |
3 | 2 | PLAIN | opened | opened |
3 | 3 | PLAIN | for | for |
3 | 4 | PLAIN | My | My |
3 | 5 | PLAIN | Chemical | Chemical |
3 | 6 | PLAIN | Romance's | Romance's |
3 | 7 | DATE | 2007 | two thousand seven |
3 | 8 | PLAIN | shows | shows |
3 | 9 | PLAIN | in | in |
3 | 10 | PLAIN | Worcester | Worcester |
3 | 11 | PLAIN | and | and |
3 | 12 | PLAIN | Australian | Australian |
3 | 13 | PLAIN | and | and |
3 | 14 | PLAIN | New | New |
3 | 15 | PLAIN | Zealand | Zealand |
3 | 16 | PLAIN | shows | shows |
3 | 17 | PLAIN | as | as |
3 | 18 | PLAIN | well | well |
3 | 19 | PUNCT | . | . |
4 | 0 | PLAIN | It | It |
4 | 1 | PLAIN | has | has |
4 | 2 | PLAIN | a | a |
4 | 3 | PLAIN | greyish | greyish |
4 | 4 | PLAIN | green | green |
4 | 5 | PUNCT | , | , |
4 | 6 | PLAIN | densely | densely |
4 | 7 | PLAIN | hairy | hairy |
4 | 8 | PLAIN | stem | stem |
4 | 9 | PLAIN | and | and |
4 | 10 | PLAIN | alternate | alternate |
4 | 11 | PUNCT | , | , |
4 | 12 | PLAIN | palmately | palmately |
4 | 13 | PLAIN | lobed | lobed |
4 | 14 | PLAIN | leaves | leaves |
4 | 15 | PUNCT | . | . |
5 | 0 | DATE | 2008 | two thousand eight |
5 | 1 | PLAIN | Tour | Tour |
5 | 2 | PLAIN | with | with |
5 | 3 | PLAIN | Madina | Madina |
5 | 4 | PLAIN | Lake | Lake |
5 | 5 | PUNCT | , | , |
5 | 6 | PLAIN | Coheed | Coheed |
5 | 7 | PLAIN | and | and |
5 | 8 | PLAIN | Cambria | Cambria |
5 | 9 | PLAIN | and | and |
5 | 10 | PLAIN | Fightstar | Fightstar |
5 | 11 | PUNCT | . | . |
6 | 0 | PLAIN | Greek | Greek |
6 | 1 | PLAIN | National | National |
6 | 2 | PLAIN | Road | Road |
6 | 3 | CARDINAL | 91 | ninety one |
6 | 4 | PUNCT | ( | ( |
6 | 5 | PLAIN | Athens | Athens |
6 | 6 | PUNCT | — | — |
6 | 7 | PLAIN | Sounio | Sounio |