Severine commited on
Commit
a1564af
1 Parent(s): a71dc4c
Files changed (1) hide show
  1. 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
- "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, {
 
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, {