Felix
commited on
Commit
•
ccae210
1
Parent(s):
475495e
update swesat
Browse files- superlim-2.py +10 -12
superlim-2.py
CHANGED
@@ -224,12 +224,11 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
224 |
elif self.config.name == "swesat":
|
225 |
features = datasets.Features(
|
226 |
{
|
227 |
-
"
|
228 |
-
"
|
229 |
-
"
|
230 |
-
"
|
231 |
-
"
|
232 |
-
"answer_5": datasets.Value("string"),
|
233 |
}
|
234 |
)
|
235 |
elif self.config.name == "swesim_relatedness":
|
@@ -402,12 +401,11 @@ class SuperLim(datasets.GeneratorBasedBuilder):
|
|
402 |
}
|
403 |
elif self.config.name == "swesat":
|
404 |
yield key, {
|
405 |
-
"
|
406 |
-
"
|
407 |
-
"
|
408 |
-
"
|
409 |
-
"
|
410 |
-
"answer_5": row["answer_5"],
|
411 |
}
|
412 |
elif self.config.name == "swesim_relatedness":
|
413 |
yield key, {
|
|
|
224 |
elif self.config.name == "swesat":
|
225 |
features = datasets.Features(
|
226 |
{
|
227 |
+
"id": datasets.Value("string"),
|
228 |
+
"item": datasets.Value("string"),
|
229 |
+
"candidate_answers": datasets.Value("string"),
|
230 |
+
"label": datasets.Value("string"),
|
231 |
+
"meta": datasets.Value("string")
|
|
|
232 |
}
|
233 |
)
|
234 |
elif self.config.name == "swesim_relatedness":
|
|
|
401 |
}
|
402 |
elif self.config.name == "swesat":
|
403 |
yield key, {
|
404 |
+
"id": row["id"],
|
405 |
+
"item": row["item"],
|
406 |
+
"candidate_answers": row["candidate_answers"],
|
407 |
+
"label": row["label"],
|
408 |
+
"meta": row["meta"],
|
|
|
409 |
}
|
410 |
elif self.config.name == "swesim_relatedness":
|
411 |
yield key, {
|