Datasets:
update
Browse files- SuperLim.py +6 -6
SuperLim.py
CHANGED
@@ -438,14 +438,14 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
438 |
}
|
439 |
elif self.config.name == "swesim_relatedness":
|
440 |
yield key, {
|
441 |
-
"word_1": row["Word 1"],
|
442 |
-
"word_2": row["Word 2"],
|
443 |
"relatedness": row["Average"],
|
444 |
}
|
445 |
elif self.config.name == "swesim_similarity":
|
446 |
yield key, {
|
447 |
-
"word_1": row["Word 1"],
|
448 |
-
"word_2": row["Word 2"],
|
449 |
"similarity": row["Average"],
|
450 |
}
|
451 |
elif self.config.name == "swewgr":
|
@@ -468,8 +468,8 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
468 |
}
|
469 |
elif self.config.name == "swewsc":
|
470 |
yield key, {
|
471 |
-
"passage": row["Word 1"],
|
472 |
-
"challenge_text": row["challenge_text
|
473 |
"response_text": row["response_text"],
|
474 |
"challenge_begin":row["challenge_begin"],
|
475 |
"challenge_end":row["challenge_end"],
|
|
|
438 |
}
|
439 |
elif self.config.name == "swesim_relatedness":
|
440 |
yield key, {
|
441 |
+
"word_1": row["Word 1 "],
|
442 |
+
"word_2": row["Word 2 "],
|
443 |
"relatedness": row["Average"],
|
444 |
}
|
445 |
elif self.config.name == "swesim_similarity":
|
446 |
yield key, {
|
447 |
+
"word_1": row["Word 1 "],
|
448 |
+
"word_2": row["Word 2 "],
|
449 |
"similarity": row["Average"],
|
450 |
}
|
451 |
elif self.config.name == "swewgr":
|
|
|
468 |
}
|
469 |
elif self.config.name == "swewsc":
|
470 |
yield key, {
|
471 |
+
"passage": row["Word 1 "],
|
472 |
+
"challenge_text": row["challenge_text"],
|
473 |
"response_text": row["response_text"],
|
474 |
"challenge_begin":row["challenge_begin"],
|
475 |
"challenge_end":row["challenge_end"],
|