Yash0707/MathTutor-Qwen3-8B-QLoRA
Text Generation • Updated • 12
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
messages: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
metadata: struct<topic: string, difficulty: string, misconception_type: string, turn_count: int64, has_thinkin (... 30 chars omitted)
child 0, topic: string
child 1, difficulty: string
child 2, misconception_type: string
child 3, turn_count: int64
child 4, has_thinking: bool
child 5, ood_category: string
system_prompt: string
seed_source: string
seed_question: string
seed_answer: string
to
{'messages': List({'role': Value('string'), 'content': Value('string')}), 'metadata': {'topic': Value('string'), 'difficulty': Value('string'), 'misconception_type': Value('string'), 'turn_count': Value('int64'), 'has_thinking': Value('bool'), 'category': Value('string')}, 'seed_source': Value('string'), 'seed_question': Value('string'), 'seed_answer': Value('string')}
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 265, 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 120, 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
messages: list<item: struct<role: string, content: string>>
child 0, item: struct<role: string, content: string>
child 0, role: string
child 1, content: string
metadata: struct<topic: string, difficulty: string, misconception_type: string, turn_count: int64, has_thinkin (... 30 chars omitted)
child 0, topic: string
child 1, difficulty: string
child 2, misconception_type: string
child 3, turn_count: int64
child 4, has_thinking: bool
child 5, ood_category: string
system_prompt: string
seed_source: string
seed_question: string
seed_answer: string
to
{'messages': List({'role': Value('string'), 'content': Value('string')}), 'metadata': {'topic': Value('string'), 'difficulty': Value('string'), 'misconception_type': Value('string'), 'turn_count': Value('int64'), 'has_thinking': Value('bool'), 'category': Value('string')}, 'seed_source': Value('string'), 'seed_question': Value('string'), 'seed_answer': Value('string')}
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.
No dataset card yet