Update DiscEvalMT.py
Browse files- DiscEvalMT.py +2 -1
DiscEvalMT.py
CHANGED
|
@@ -92,5 +92,6 @@ class DiscEvalMT(datasets.GeneratorBasedBuilder):
|
|
| 92 |
with open(filepath, encoding="utf-8") as f:
|
| 93 |
examples = json.load(f)
|
| 94 |
for line in f:
|
| 95 |
-
|
|
|
|
| 96 |
yield example['ex_num'], example
|
|
|
|
| 92 |
with open(filepath, encoding="utf-8") as f:
|
| 93 |
examples = json.load(f)
|
| 94 |
for line in f:
|
| 95 |
+
print(line)
|
| 96 |
+
example = json.loads(line)
|
| 97 |
yield example['ex_num'], example
|