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 7 new columns ({'longest_seq_token_count', 'sub_call_count', 'sub_call_beam_size', 'avg_seq_token_count', 'trace_dict', 'avg_sub_seq_token_count', 'promising_threshold'})

This happened while the json dataset builder was generating data using

hf://datasets/LM-Parallel/all-v3n5/val_hsp.json (at revision 917cff84bd54f5f216b539692e425182e284faef)

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 1871, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, 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 2293, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              nums: list<item: int64>
                child 0, item: int64
              target: int64
              solution: list<item: string>
                child 0, item: string
              optimal_path: string
              start_size: int64
              search_path: string
              rating: double
              search_type: string
              heuristic: string
              promising_threshold: double
              beam_size: int64
              sub_call_beam_size: int64
              trace_dict: struct<main_calls: list<item: string>, sub_calls: list<item: list<item: struct<main_calls: list<item: string>, sub_calls: list<item: null>>>>>
                child 0, main_calls: list<item: string>
                    child 0, item: string
                child 1, sub_calls: list<item: list<item: struct<main_calls: list<item: string>, sub_calls: list<item: null>>>>
                    child 0, item: list<item: struct<main_calls: list<item: string>, sub_calls: list<item: null>>>
                        child 0, item: struct<main_calls: list<item: string>, sub_calls: list<item: null>>
                            child 0, main_calls: list<item: string>
                                child 0, item: string
                            child 1, sub_calls: list<item: null>
                                child 0, item: null
              token_count: int64
              longest_seq_token_count: int64
              avg_seq_token_count: double
              avg_sub_seq_token_count: double
              sub_call_count: double
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 2447
              to
              {'nums': Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), 'target': Value(dtype='int64', id=None), 'solution': Sequence(feature=Value(dtype='string', id=None), length=-1, id=None), 'optimal_path': Value(dtype='string', id=None), 'start_size': Value(dtype='int64', id=None), 'search_path': Value(dtype='string', id=None), 'rating': Value(dtype='float64', id=None), 'search_type': Value(dtype='string', id=None), 'heuristic': Value(dtype='string', id=None), 'beam_size': Value(dtype='int64', id=None), 'token_count': Value(dtype='int64', 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 1436, 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 1053, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, 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 1742, 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 1873, 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 7 new columns ({'longest_seq_token_count', 'sub_call_count', 'sub_call_beam_size', 'avg_seq_token_count', 'trace_dict', 'avg_sub_seq_token_count', 'promising_threshold'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/LM-Parallel/all-v3n5/val_hsp.json (at revision 917cff84bd54f5f216b539692e425182e284faef)
              
              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.

nums
sequence
target
int64
solution
sequence
optimal_path
string
start_size
int64
search_path
string
rating
float64
search_type
string
heuristic
string
beam_size
int64
token_count
int64
[ 28, 62, 45, 43, 34 ]
79
[ "28+62=90", "45-43=2", "90/2=45", "34+45=79" ]
Current State: 79:[28, 62, 45, 43, 34], Operations: [] Exploring Operation: 28+62=90, Resulting Numbers: [45, 43, 34, 90] Generated Node #2: [45, 43, 34, 90] from Operation: 28+62=90 Current State: 79:[45, 43, 34, 90], Operations: ['28+62=90'] Exploring Operation: 45-43=2, Resulting Numbers: [34, 90, 2] Generated Node ...
5
Current State: 79:[28, 62, 45, 43, 34], Operations: [] Exploring Operation: 28+45=73, Resulting Numbers: [62, 43, 34, 73] Generated Node #0,0: 79:[62, 43, 34, 73] Operation: 28+45=73 Start Sub Search at level 1: Moving to Node #0,0 Current State: 79:[62, 43, 34, 73], Operations: ['28+45=73'] Exploring Operation: 43+34=...
0
hs_1
mult_heuristic
1
532
[ 90, 52, 66, 48, 2 ]
57
[ "52-48=4", "66*2=132", "132/4=33", "90-33=57" ]
Current State: 57:[90, 52, 66, 48, 2], Operations: [] Exploring Operation: 52-48=4, Resulting Numbers: [90, 66, 2, 4] Generated Node #2: [90, 66, 2, 4] from Operation: 52-48=4 Current State: 57:[90, 66, 2, 4], Operations: ['52-48=4'] Exploring Operation: 66*2=132, Resulting Numbers: [90, 4, 132] Generated Node #3: [90,...
5
Current State: 57:[90, 52, 66, 48, 2], Operations: [] Exploring Operation: 90-48=42, Resulting Numbers: [52, 66, 2, 42] Generated Node #0,0: 57:[52, 66, 2, 42] Operation: 90-48=42 Exploring Operation: 90/2=45, Resulting Numbers: [52, 66, 48, 45] Generated Node #0,1: 57:[52, 66, 48, 45] Operation: 90/2=45 Exploring Oper...
0
hs_4
mult_heuristic
4
18,922
[ 5, 3, 17, 73, 4 ]
93
[ "5+4=9", "9/3=3", "17+73=90", "3+90=93" ]
Current State: 93:[5, 3, 17, 73, 4], Operations: [] Exploring Operation: 5+4=9, Resulting Numbers: [3, 17, 73, 9] Generated Node #2: [3, 17, 73, 9] from Operation: 5+4=9 Current State: 93:[3, 17, 73, 9], Operations: ['5+4=9'] Exploring Operation: 9/3=3, Resulting Numbers: [17, 73, 3] Generated Node #3: [17, 73, 3] from...
5
Current State: 93:[5, 3, 17, 73, 4], Operations: [] Exploring Operation: 17+73=90, Resulting Numbers: [5, 3, 4, 90] Generated Node #0,0: 93:[5, 3, 4, 90] Operation: 17+73=90 Start Sub Search at level 1: Moving to Node #0,0 Current State: 93:[5, 3, 4, 90], Operations: ['17+73=90'] Exploring Operation: 5+90=95, Resulting...
0
hs_1
mult_heuristic
1
440
[ 2, 36, 57, 68, 67 ]
57
[ "2*57=114", "36+68=104", "114-67=47", "104-47=57" ]
Current State: 57:[2, 36, 57, 68, 67], Operations: [] Exploring Operation: 2*57=114, Resulting Numbers: [36, 68, 67, 114] Generated Node #2: [36, 68, 67, 114] from Operation: 2*57=114 Current State: 57:[36, 68, 67, 114], Operations: ['2*57=114'] Exploring Operation: 36+68=104, Resulting Numbers: [67, 114, 104] Generate...
5
Current State: 57:[2, 36, 57, 68, 67], Operations: [] Exploring Operation: 68-67=1, Resulting Numbers: [2, 36, 57, 1] Generated Node #0,0: 57:[2, 36, 57, 1] Operation: 68-67=1 Exploring Operation: 36/2=18, Resulting Numbers: [57, 68, 67, 18] Generated Node #0,1: 57:[57, 68, 67, 18] Operation: 36/2=18 Moving to Node #0,...
0
hs_2
mult_heuristic
2
2,410
[ 75, 3, 49, 7, 82 ]
16
[ "75+7=82", "82/82=1", "49-1=48", "48/3=16" ]
Current State: 16:[75, 3, 49, 7, 82], Operations: [] Exploring Operation: 75+7=82, Resulting Numbers: [3, 49, 82, 82] Generated Node #2: [3, 49, 82, 82] from Operation: 75+7=82 Current State: 16:[3, 49, 82, 82], Operations: ['75+7=82'] Exploring Operation: 82/82=1, Resulting Numbers: [3, 49, 1] Generated Node #3: [3, 4...
5
Current State: 16:[75, 3, 49, 7, 82], Operations: [] Exploring Operation: 82-75=7, Resulting Numbers: [3, 49, 7, 7] Generated Node #0,0: 16:[3, 49, 7, 7] Operation: 82-75=7 Exploring Operation: 75-49=26, Resulting Numbers: [3, 7, 82, 26] Generated Node #0,1: 16:[3, 7, 82, 26] Operation: 75-49=26 Exploring Operation: 82...
0
hs_3
mult_heuristic
3
7,804
[ 31, 43, 16, 85, 62 ]
84
[ "43-31=12", "85-16=69", "69-62=7", "12*7=84" ]
Current State: 84:[31, 43, 16, 85, 62], Operations: [] Exploring Operation: 43-31=12, Resulting Numbers: [16, 85, 62, 12] Generated Node #2: [16, 85, 62, 12] from Operation: 43-31=12 Current State: 84:[16, 85, 62, 12], Operations: ['43-31=12'] Exploring Operation: 85-16=69, Resulting Numbers: [62, 12, 69] Generated Nod...
5
Current State: 84:[31, 43, 16, 85, 62], Operations: [] Exploring Operation: 62/31=2, Resulting Numbers: [43, 16, 85, 2] Generated Node #0,0: 84:[43, 16, 85, 2] Operation: 62/31=2 Exploring Operation: 85-62=23, Resulting Numbers: [31, 43, 16, 23] Generated Node #0,1: 84:[31, 43, 16, 23] Operation: 85-62=23 Exploring Ope...
0.994857
hs_5
mult_heuristic
5
16,046
[ 57, 14, 61, 51, 17 ]
99
[ "57+14=71", "61-51=10", "17*10=170", "170-71=99" ]
Current State: 99:[57, 14, 61, 51, 17], Operations: [] Exploring Operation: 57+14=71, Resulting Numbers: [61, 51, 17, 71] Generated Node #2: [61, 51, 17, 71] from Operation: 57+14=71 Current State: 99:[61, 51, 17, 71], Operations: ['57+14=71'] Exploring Operation: 61-51=10, Resulting Numbers: [17, 71, 10] Generated Nod...
5
Current State: 99:[57, 14, 61, 51, 17], Operations: [] Exploring Operation: 61-51=10, Resulting Numbers: [57, 14, 17, 10] Generated Node #0,0: 99:[57, 14, 17, 10] Operation: 61-51=10 Exploring Operation: 57-51=6, Resulting Numbers: [14, 61, 17, 6] Generated Node #0,1: 99:[14, 61, 17, 6] Operation: 57-51=6 Exploring Ope...
0
hs_3
mult_heuristic
3
8,193
[ 24, 74, 50, 41, 87 ]
19
[ "41-24=17", "87-50=37", "74/37=2", "17+2=19" ]
Current State: 19:[24, 74, 50, 41, 87], Operations: [] Exploring Operation: 41-24=17, Resulting Numbers: [74, 50, 87, 17] Generated Node #2: [74, 50, 87, 17] from Operation: 41-24=17 Current State: 19:[74, 50, 87, 17], Operations: ['41-24=17'] Exploring Operation: 87-50=37, Resulting Numbers: [74, 17, 37] Generated Nod...
5
Current State: 19:[24, 74, 50, 41, 87], Operations: [] Exploring Operation: 87-74=13, Resulting Numbers: [24, 50, 41, 13] Generated Node #0,0: 19:[24, 50, 41, 13] Operation: 87-74=13 Exploring Operation: 74-50=24, Resulting Numbers: [24, 41, 87, 24] Generated Node #0,1: 19:[24, 41, 87, 24] Operation: 74-50=24 Exploring...
0.9977
hs_3
mult_heuristic
3
7,753
[ 46, 74, 82, 44, 57 ]
20
[ "74-46=28", "57*28=1596", "44+1596=1640", "1640/82=20" ]
Current State: 20:[46, 74, 82, 44, 57], Operations: [] Exploring Operation: 74-46=28, Resulting Numbers: [82, 44, 57, 28] Generated Node #2: [82, 44, 57, 28] from Operation: 74-46=28 Current State: 20:[82, 44, 57, 28], Operations: ['74-46=28'] Exploring Operation: 57*28=1596, Resulting Numbers: [82, 44, 1596] Generated...
5
Current State: 20:[46, 74, 82, 44, 57], Operations: [] Exploring Operation: 74-57=17, Resulting Numbers: [46, 82, 44, 17] Generated Node #0,0: 20:[46, 82, 44, 17] Operation: 74-57=17 Exploring Operation: 82-57=25, Resulting Numbers: [46, 74, 44, 25] Generated Node #0,1: 20:[46, 74, 44, 25] Operation: 82-57=25 Exploring...
0
hs_4
mult_heuristic
4
18,370
[ 77, 65, 62, 67, 68 ]
85
[ "77-65=12", "67-62=5", "68+12=80", "5+80=85" ]
Current State: 85:[77, 65, 62, 67, 68], Operations: [] Exploring Operation: 77-65=12, Resulting Numbers: [62, 67, 68, 12] Generated Node #2: [62, 67, 68, 12] from Operation: 77-65=12 Current State: 85:[62, 67, 68, 12], Operations: ['77-65=12'] Exploring Operation: 67-62=5, Resulting Numbers: [68, 12, 5] Generated Node ...
5
Current State: 85:[77, 65, 62, 67, 68], Operations: [] Exploring Operation: 67-62=5, Resulting Numbers: [77, 65, 68, 5] Generated Node #0,0: 85:[77, 65, 68, 5] Operation: 67-62=5 Exploring Operation: 65-62=3, Resulting Numbers: [77, 67, 68, 3] Generated Node #0,1: 85:[77, 67, 68, 3] Operation: 65-62=3 Moving to Node #0...
0.999436
hs_2
mult_heuristic
2
2,180
[ 32, 26, 83, 3, 86 ]
31
[ "83-32=51", "86-26=60", "60/3=20", "51-20=31" ]
Current State: 31:[32, 26, 83, 3, 86], Operations: [] Exploring Operation: 83-32=51, Resulting Numbers: [26, 3, 86, 51] Generated Node #2: [26, 3, 86, 51] from Operation: 83-32=51 Current State: 31:[26, 3, 86, 51], Operations: ['83-32=51'] Exploring Operation: 86-26=60, Resulting Numbers: [3, 51, 60] Generated Node #3:...
5
Current State: 31:[32, 26, 83, 3, 86], Operations: [] Exploring Operation: 83-32=51, Resulting Numbers: [26, 3, 86, 51] Generated Node #0,0: 31:[26, 3, 86, 51] Operation: 83-32=51 Exploring Operation: 86-83=3, Resulting Numbers: [32, 26, 3, 3] Generated Node #0,1: 31:[32, 26, 3, 3] Operation: 86-83=3 Start Sub Search a...
0
hs_2
mult_heuristic
2
2,467
End of preview.

No dataset card yet

Downloads last month
4