Dataset Viewer
Duplicate
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
successful_microactions: list<item: struct<micro_action_id: string, task_type: string, goal_variant_count: int64>>
  child 0, item: struct<micro_action_id: string, task_type: string, goal_variant_count: int64>
      child 0, micro_action_id: string
      child 1, task_type: string
      child 2, goal_variant_count: int64
failed_microactions: list<item: null>
  child 0, item: null
successful_micro_action_ids: list<item: string>
  child 0, item: string
failed_micro_action_ids: list<item: null>
  child 0, item: null
requested_micro_action_ids: list<item: string>
  child 0, item: string
batches: list<item: struct<batch_index: int64, micro_action_ids: list<item: string>, status: string, outputs: (... 377 chars omitted)
  child 0, item: struct<batch_index: int64, micro_action_ids: list<item: string>, status: string, outputs: list<item: (... 365 chars omitted)
      child 0, batch_index: int64
      child 1, micro_action_ids: list<item: string>
          child 0, item: string
      child 2, status: string
      child 3, outputs: list<item: string>
          child 0, item: string
      child 4, raw_response_path: string
      child 5, usage: struct<num_tokens: int64, cost: double, cost_source: string, prompt_tokens: int64, completion_tokens (... 26 chars omitted)
          child 0, num_tokens: int64
          child 1, cost: double
          child 2, cost_source: string
          child 3, prompt_tokens: int64
          child 4, completion_tokens: int64
          child 5, api_calls: in
...
ext: double, render_prompt: double, build_messages: double,  (... 50 chars omitted)
          child 0, resolve_paths: double
          child 1, build_context: double
          child 2, render_prompt: double
          child 3, build_messages: double
          child 4, api_call: double
          child 5, validate: double
          child 6, total: double
      child 7, elapsed_seconds: double
status: string
timings_seconds: struct<total: double>
  child 0, total: double
usage: struct<num_tokens: int64, cost: double, cost_source: string, prompt_tokens: int64, completion_tokens (... 26 chars omitted)
  child 0, num_tokens: int64
  child 1, cost: double
  child 2, cost_source: string
  child 3, prompt_tokens: int64
  child 4, completion_tokens: int64
  child 5, api_calls: int64
api_calls: int64
macro_state_id: string
model: string
generation_run: string
batch_size: int64
prompt_kind: string
prompt_profile: string
source_task_generation_run: string
goal_variant_count: int64
variant_index: int64
goal: string
task_index: int64
id: string
source_task: struct<instruction: string, expected_outcome: string, preconditions: struct<description: string, ext (... 23 chars omitted)
  child 0, instruction: string
  child 1, expected_outcome: string
  child 2, preconditions: struct<description: string, extras: list<item: null>>
      child 0, description: string
      child 1, extras: list<item: null>
          child 0, item: null
task_type: string
micro_action_id: string
expected_outcome: string
to
{'id': Value('string'), 'variant_index': Value('int64'), 'task_index': Value('int64'), 'micro_action_id': Value('string'), 'task_type': Value('string'), 'goal': Value('string'), 'expected_outcome': Value('string'), 'generation_run': Value('string'), 'source_task': {'instruction': Value('string'), 'expected_outcome': Value('string'), 'preconditions': {'description': Value('string'), 'extras': List(Value('null'))}}}
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 2815, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2352, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2377, 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 536, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 419, 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 310, 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 130, 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 2369, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              successful_microactions: list<item: struct<micro_action_id: string, task_type: string, goal_variant_count: int64>>
                child 0, item: struct<micro_action_id: string, task_type: string, goal_variant_count: int64>
                    child 0, micro_action_id: string
                    child 1, task_type: string
                    child 2, goal_variant_count: int64
              failed_microactions: list<item: null>
                child 0, item: null
              successful_micro_action_ids: list<item: string>
                child 0, item: string
              failed_micro_action_ids: list<item: null>
                child 0, item: null
              requested_micro_action_ids: list<item: string>
                child 0, item: string
              batches: list<item: struct<batch_index: int64, micro_action_ids: list<item: string>, status: string, outputs: (... 377 chars omitted)
                child 0, item: struct<batch_index: int64, micro_action_ids: list<item: string>, status: string, outputs: list<item: (... 365 chars omitted)
                    child 0, batch_index: int64
                    child 1, micro_action_ids: list<item: string>
                        child 0, item: string
                    child 2, status: string
                    child 3, outputs: list<item: string>
                        child 0, item: string
                    child 4, raw_response_path: string
                    child 5, usage: struct<num_tokens: int64, cost: double, cost_source: string, prompt_tokens: int64, completion_tokens (... 26 chars omitted)
                        child 0, num_tokens: int64
                        child 1, cost: double
                        child 2, cost_source: string
                        child 3, prompt_tokens: int64
                        child 4, completion_tokens: int64
                        child 5, api_calls: in
              ...
              ext: double, render_prompt: double, build_messages: double,  (... 50 chars omitted)
                        child 0, resolve_paths: double
                        child 1, build_context: double
                        child 2, render_prompt: double
                        child 3, build_messages: double
                        child 4, api_call: double
                        child 5, validate: double
                        child 6, total: double
                    child 7, elapsed_seconds: double
              status: string
              timings_seconds: struct<total: double>
                child 0, total: double
              usage: struct<num_tokens: int64, cost: double, cost_source: string, prompt_tokens: int64, completion_tokens (... 26 chars omitted)
                child 0, num_tokens: int64
                child 1, cost: double
                child 2, cost_source: string
                child 3, prompt_tokens: int64
                child 4, completion_tokens: int64
                child 5, api_calls: int64
              api_calls: int64
              macro_state_id: string
              model: string
              generation_run: string
              batch_size: int64
              prompt_kind: string
              prompt_profile: string
              source_task_generation_run: string
              goal_variant_count: int64
              variant_index: int64
              goal: string
              task_index: int64
              id: string
              source_task: struct<instruction: string, expected_outcome: string, preconditions: struct<description: string, ext (... 23 chars omitted)
                child 0, instruction: string
                child 1, expected_outcome: string
                child 2, preconditions: struct<description: string, extras: list<item: null>>
                    child 0, description: string
                    child 1, extras: list<item: null>
                        child 0, item: null
              task_type: string
              micro_action_id: string
              expected_outcome: string
              to
              {'id': Value('string'), 'variant_index': Value('int64'), 'task_index': Value('int64'), 'micro_action_id': Value('string'), 'task_type': Value('string'), 'goal': Value('string'), 'expected_outcome': Value('string'), 'generation_run': Value('string'), 'source_task': {'instruction': Value('string'), 'expected_outcome': Value('string'), 'preconditions': {'description': Value('string'), 'extras': List(Value('null'))}}}
              because column names don't match

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.

No dataset card yet

Downloads last month
31