Datasets:
Tasks:
Text Classification
Sub-tasks:
acceptability-classification
Languages:
Italian
ArXiv:
License:
Fix iterator
Browse files- itacola.py +1 -1
itacola.py
CHANGED
@@ -142,5 +142,5 @@ class ItaCola(datasets.GeneratorBasedBuilder):
|
|
142 |
fields = fields[:-1],
|
143 |
if ex_split is None or ex_split.strip() == split:
|
144 |
yield id_, {
|
145 |
-
k:v.strip() for k,v in zip(features, fields)
|
146 |
}
|
|
|
142 |
fields = fields[:-1],
|
143 |
if ex_split is None or ex_split.strip() == split:
|
144 |
yield id_, {
|
145 |
+
k:v.strip() for k,v in zip(features, fields[0])
|
146 |
}
|