gsarti commited on
Commit
b250cc4
1 Parent(s): c2a1a09

Fix iterator

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