Datasets:
update
Browse files- SuperLim.py +7 -7
SuperLim.py
CHANGED
@@ -380,14 +380,14 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
380 |
if self.config.name == "dalaj":
|
381 |
# Yields examples as (key, example) tuples
|
382 |
yield key, {
|
383 |
-
"
|
384 |
-
"
|
385 |
-
"
|
386 |
-
"
|
387 |
-
"
|
388 |
-
"
|
389 |
"l1": row["l1"],
|
390 |
-
"
|
391 |
}
|
392 |
elif self.config.name == "sweana":
|
393 |
yield key, {
|
|
|
380 |
if self.config.name == "dalaj":
|
381 |
# Yields examples as (key, example) tuples
|
382 |
yield key, {
|
383 |
+
"original_sentence": row["original sentence"],
|
384 |
+
"corrected_sentence": row["corrected sentence"],
|
385 |
+
"error_indices": row["error indices"],
|
386 |
+
"corrected_indices": row["corrected indices"],
|
387 |
+
"error_corr_pair": row["error-corr pair"],
|
388 |
+
"error_label": row["error label"],
|
389 |
"l1": row["l1"],
|
390 |
+
"approximate_level": row["approximate level"],
|
391 |
}
|
392 |
elif self.config.name == "sweana":
|
393 |
yield key, {
|