Felix
commited on
Commit
·
6f5a36d
1
Parent(s):
a9dd225
fix some errors in the fields
Browse files- 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 |
-
"
|
518 |
-
"
|
519 |
-
"
|
520 |
"label": row["label"],
|
521 |
-
"meta": row["
|
522 |
}
|
523 |
elif self.config.name == "swewinogender":
|
524 |
yield key, {
|
525 |
"idx": row["idx"],
|
526 |
-
"
|
527 |
-
"
|
528 |
"label": row["label"],
|
529 |
-
"
|
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, {
|