Datasets:
Update mindgames.py
Browse files- 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
|