sebastiaan
commited on
Commit
·
6a535f1
1
Parent(s):
46749d5
Update cefr.py
Browse files
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":
|
106 |
-
"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 |
}
|