Dataset Preview
Duplicate
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 4 new columns ({'additional_special_tokens', 'eos_token', 'pad_token', 'unk_token'}) and 5 missing columns ({'_from_model_config', 'pad_token_id', 'eos_token_id', 'transformers_version', 'decoder_start_token_id'}).

This happened while the json dataset builder was generating data using

hf://datasets/jackbean/question_generation_api/model/special_tokens_map.json (at revision 0e5669cb9e78bc5cf20a96160db6eacc3d3ff0a2)

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 1870, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 622, 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 2292, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              additional_special_tokens: list<item: string>
                child 0, item: string
              eos_token: string
              pad_token: string
              unk_token: string
              to
              {'_from_model_config': Value(dtype='bool', id=None), 'decoder_start_token_id': Value(dtype='int64', id=None), 'eos_token_id': Value(dtype='int64', id=None), 'pad_token_id': Value(dtype='int64', id=None), 'transformers_version': 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 1417, 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 1049, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1000, 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 1741, 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 1872, 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 4 new columns ({'additional_special_tokens', 'eos_token', 'pad_token', 'unk_token'}) and 5 missing columns ({'_from_model_config', 'pad_token_id', 'eos_token_id', 'transformers_version', 'decoder_start_token_id'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/jackbean/question_generation_api/model/special_tokens_map.json (at revision 0e5669cb9e78bc5cf20a96160db6eacc3d3ff0a2)
              
              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.

_from_model_config
bool
decoder_start_token_id
int64
eos_token_id
int64
pad_token_id
int64
transformers_version
string
additional_special_tokens
sequence
eos_token
string
pad_token
string
unk_token
string
clean_up_tokenization_spaces
bool
extra_ids
int64
model_max_length
int64
sp_model_kwargs
dict
tokenizer_class
string
true
0
1
0
4.28.1
null
null
null
null
null
null
null
null
null
null
null
null
null
null
[ "<extra_id_0>", "<extra_id_1>", "<extra_id_2>", "<extra_id_3>", "<extra_id_4>", "<extra_id_5>", "<extra_id_6>", "<extra_id_7>", "<extra_id_8>", "<extra_id_9>", "<extra_id_10>", "<extra_id_11>", "<extra_id_12>", "<extra_id_13>", "<extra_id_14>", "<extra_id_15>", "<extra_id_16>", "<e...
</s>
<pad>
<unk>
null
null
null
null
null
null
null
null
null
null
[ "<extra_id_0>", "<extra_id_1>", "<extra_id_2>", "<extra_id_3>", "<extra_id_4>", "<extra_id_5>", "<extra_id_6>", "<extra_id_7>", "<extra_id_8>", "<extra_id_9>", "<extra_id_10>", "<extra_id_11>", "<extra_id_12>", "<extra_id_13>", "<extra_id_14>", "<extra_id_15>", "<extra_id_16>", "<e...
</s>
<pad>
<unk>
true
100
512
{}
T5Tokenizer

No dataset card yet

Downloads last month
1