baber commited on
Commit
01034fb
·
1 Parent(s): 7f2928a

Update testing.py

Browse files
Files changed (1) hide show
  1. 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["major_premise"] = data["major_premise"].strip()
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: