Update testing.py
Browse files- testing.py +1 -1
testing.py
CHANGED
@@ -183,7 +183,7 @@ class LogiQA2(datasets.GeneratorBasedBuilder):
|
|
183 |
elif self.config.name == "logiqa2_nli":
|
184 |
if isinstance(data["major_premise"], str):
|
185 |
data["major_premise"] = [data["major_premise"]]
|
186 |
-
data["
|
187 |
# output = ast.literal_eval(data["major_premise"])
|
188 |
# " ".join(output)
|
189 |
# except:
|
|
|
183 |
elif self.config.name == "logiqa2_nli":
|
184 |
if isinstance(data["major_premise"], str):
|
185 |
data["major_premise"] = [data["major_premise"]]
|
186 |
+
data["minor_premise"] = data["minor_premise"].strip()
|
187 |
# output = ast.literal_eval(data["major_premise"])
|
188 |
# " ".join(output)
|
189 |
# except:
|