Update DiscEvalMT.py
Browse files- DiscEvalMT.py +2 -1
DiscEvalMT.py
CHANGED
@@ -100,6 +100,7 @@ class DiscEvalMT(datasets.GeneratorBasedBuilder):
|
|
100 |
key = 0
|
101 |
with open(filepath, encoding="utf-8") as f:
|
102 |
for line in f:
|
103 |
-
|
104 |
example = json.loads(line)
|
|
|
105 |
yield example['ex_num'], example
|
|
|
100 |
key = 0
|
101 |
with open(filepath, encoding="utf-8") as f:
|
102 |
for line in f:
|
103 |
+
|
104 |
example = json.loads(line)
|
105 |
+
print(example.keys())
|
106 |
yield example['ex_num'], example
|