ibaucells commited on
Commit
42bbdb8
1 Parent(s): df45e01

Update COPA-ca.py

Browse files
Files changed (1) hide show
  1. 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.Value('int64'),
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
  }