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 1 new columns ({'canary'})

This happened while the json dataset builder was generating data using

hf://datasets/OpenCausaLab/CaLM-Lite/calm_dataset_gt_label/counterfactual/actual_causality/AC-B_causal_judgement_CN.json (at revision 0198c15fa95433e16f0d0131cdab90e5220f9d7a)

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 "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
                  writer.write_table(table)
                File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
                  pa_table = table_cast(pa_table, self._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
              index: int64
              gt_answer: string
              canary: string
              to
              {'index': Value('int64'), 'gt_answer': Value('string')}
              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 1339, 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 972, in convert_to_parquet
                  builder.download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
                  self._download_and_prepare(
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, 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 1 new columns ({'canary'})
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/OpenCausaLab/CaLM-Lite/calm_dataset_gt_label/counterfactual/actual_causality/AC-B_causal_judgement_CN.json (at revision 0198c15fa95433e16f0d0131cdab90e5220f9d7a)
              
              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.

index
int64
gt_answer
string
1
no
2
yes
3
yes
4
no
5
yes
6
yes
7
no
8
no
9
no
10
no
11
no
12
yes
13
yes
14
yes
15
no
16
yes
17
yes
18
yes
19
yes
20
yes
21
no
22
no
23
yes
24
no
25
no
26
yes
27
no
28
yes
29
yes
30
yes
31
no
32
no
33
no
34
yes
35
no
36
yes
37
no
38
yes
39
yes
40
yes
41
no
42
yes
43
yes
44
no
45
yes
46
yes
47
no
48
yes
49
no
50
no
51
no
52
yes
53
no
54
yes
55
no
56
no
57
yes
58
no
59
no
60
no
61
no
62
yes
63
no
64
no
65
no
66
yes
67
no
68
no
69
no
70
no
71
no
72
yes
73
yes
74
no
75
yes
76
yes
77
yes
78
no
79
no
80
no
81
no
82
no
83
no
84
yes
85
no
86
yes
87
no
88
yes
89
yes
90
no
91
no
92
yes
93
no
94
no
95
no
96
no
97
yes
98
yes
99
no
100
yes
End of preview.
README.md exists but content is empty.
Downloads last month
4