Felix commited on
Commit
6f5a36d
1 Parent(s): a9dd225

fix some errors in the fields

Browse files
Files changed (1) hide show
  1. superlim-2.py +7 -7
superlim-2.py CHANGED
@@ -514,19 +514,19 @@ class SuperLim(datasets.GeneratorBasedBuilder):
514
  }
515
  elif self.config.name == "swewic":
516
  yield key, {
517
- "premise": row["premise"],
518
- "hypothesis": row["hypothesis"],
519
- "label": row["label"],
520
  "label": row["label"],
521
- "meta": row["meta"],
522
  }
523
  elif self.config.name == "swewinogender":
524
  yield key, {
525
  "idx": row["idx"],
526
- "text": row["text"],
527
- "second": row["second"],
528
  "label": row["label"],
529
- "pronoun": row["pronoun"],
530
  }
531
  elif self.config.name == "swewinograd":
532
  yield key, {
 
514
  }
515
  elif self.config.name == "swewic":
516
  yield key, {
517
+ "idx": row["idx"],
518
+ "first": row["text"],
519
+ "second": row["second"],
520
  "label": row["label"],
521
+ "meta": row["pronoun"],
522
  }
523
  elif self.config.name == "swewinogender":
524
  yield key, {
525
  "idx": row["idx"],
526
+ "premise": row["premise"],
527
+ "hypothesis": row["hypothesis"],
528
  "label": row["label"],
529
+ "meta": row["meta"],
530
  }
531
  elif self.config.name == "swewinograd":
532
  yield key, {