sebastiaan commited on
Commit
6a535f1
·
1 Parent(s): 46749d5

Update cefr.py

Browse files
Files changed (1) hide show
  1. cefr.py +3 -2
cefr.py CHANGED
@@ -101,7 +101,8 @@ class CefrDataset(datasets.GeneratorBasedBuilder):
101
  )
102
  next(csv_reader, None)
103
  for id_, row in enumerate(csv_reader):
 
104
  yield id_, {
105
- "prompt": row["prompt"],
106
- "label": row["label"]
107
  }
 
101
  )
102
  next(csv_reader, None)
103
  for id_, row in enumerate(csv_reader):
104
+ (prompt, label) = row
105
  yield id_, {
106
+ "prompt": prompt,
107
+ "label": label
108
  }