Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
bos_token: string
cls_token: string
eos_token: string
mask_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
pad_token: string
sep_token: string
unk_token: string
id2label: struct<0: string, 1: string, 2: string, 3: string, 4: string>
child 0, 0: string
child 1, 1: string
child 2, 2: string
child 3, 3: string
child 4, 4: string
task_type: string
num_labels: int64
label2id: struct<1_star: int64, 2_star: int64, 3_star: int64, 4_star: int64, 5_star: int64>
child 0, 1_star: int64
child 1, 2_star: int64
child 2, 3_star: int64
child 3, 4_star: int64
child 4, 5_star: int64
val_macro_f1: double
val_accuracy: double
model_name: string
to
{'id2label': {'0': Value('string'), '1': Value('string'), '2': Value('string'), '3': Value('string'), '4': Value('string')}, 'label2id': {'1_star': Value('int64'), '2_star': Value('int64'), '3_star': Value('int64'), '4_star': Value('int64'), '5_star': Value('int64')}, 'num_labels': Value('int64'), 'task_type': Value('string'), 'model_name': Value('string'), 'val_accuracy': Value('float64'), 'val_macro_f1': Value('float64')}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/utils.py", line 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2690, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2227, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2251, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 494, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 384, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 289, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 124, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
bos_token: string
cls_token: string
eos_token: string
mask_token: struct<content: string, lstrip: bool, normalized: bool, rstrip: bool, single_word: bool>
child 0, content: string
child 1, lstrip: bool
child 2, normalized: bool
child 3, rstrip: bool
child 4, single_word: bool
pad_token: string
sep_token: string
unk_token: string
id2label: struct<0: string, 1: string, 2: string, 3: string, 4: string>
child 0, 0: string
child 1, 1: string
child 2, 2: string
child 3, 3: string
child 4, 4: string
task_type: string
num_labels: int64
label2id: struct<1_star: int64, 2_star: int64, 3_star: int64, 4_star: int64, 5_star: int64>
child 0, 1_star: int64
child 1, 2_star: int64
child 2, 3_star: int64
child 3, 4_star: int64
child 4, 5_star: int64
val_macro_f1: double
val_accuracy: double
model_name: string
to
{'id2label': {'0': Value('string'), '1': Value('string'), '2': Value('string'), '3': Value('string'), '4': Value('string')}, 'label2id': {'1_star': Value('int64'), '2_star': Value('int64'), '3_star': Value('int64'), '4_star': Value('int64'), '5_star': Value('int64')}, 'num_labels': Value('int64'), 'task_type': Value('string'), 'model_name': Value('string'), 'val_accuracy': Value('float64'), 'val_macro_f1': Value('float64')}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
README.md exists but content is empty.
- Downloads last month
- 37