Datasets:
Update COPA-ca.py
Browse files- COPA-ca.py +1 -1
COPA-ca.py
CHANGED
@@ -53,7 +53,7 @@ class copaCa(datasets.GeneratorBasedBuilder):
|
|
53 |
"choice1": datasets.Value("string"),
|
54 |
"choice2": datasets.Value("string"),
|
55 |
"question": datasets.Value("string"),
|
56 |
-
'label': datasets.
|
57 |
"idx": datasets.Value("int64"),
|
58 |
"changed": datasets.Value("bool"),
|
59 |
}
|
|
|
53 |
"choice1": datasets.Value("string"),
|
54 |
"choice2": datasets.Value("string"),
|
55 |
"question": datasets.Value("string"),
|
56 |
+
'label': datasets.features.ClassLabel(names=['1', '2']),
|
57 |
"idx": datasets.Value("int64"),
|
58 |
"changed": datasets.Value("bool"),
|
59 |
}
|