sileod commited on
Commit
a754cba
1 Parent(s): 5105cd1

Update mindgames.py

Browse files
Files changed (1) hide show
  1. mindgames.py +1 -0
mindgames.py CHANGED
@@ -61,4 +61,5 @@ class mindgames(datasets.GeneratorBasedBuilder):
61
  with open(filepath, "r", encoding="utf-8") as f:
62
  for id_, line in enumerate(f):
63
  line_dict = json.loads(line)
 
64
  yield id_, line_dict
 
61
  with open(filepath, "r", encoding="utf-8") as f:
62
  for id_, line in enumerate(f):
63
  line_dict = json.loads(line)
64
+ line_dict['label']=['not_entailment','entailment'][line_dict['label']]
65
  yield id_, line_dict