Update tydiqa-goldp.py
Browse files- tydiqa-goldp.py +3 -2
tydiqa-goldp.py
CHANGED
@@ -102,8 +102,9 @@ class tydiqa_GoldP(datasets.GeneratorBasedBuilder):
|
|
102 |
with open(filepath, encoding="utf-8") as f:
|
103 |
for _id,row in enumerate(f):
|
104 |
data = json.loads(row)
|
105 |
-
|
106 |
-
|
|
|
107 |
|
108 |
#idx = row["id"]
|
109 |
yield _id, data
|
|
|
102 |
with open(filepath, encoding="utf-8") as f:
|
103 |
for _id,row in enumerate(f):
|
104 |
data = json.loads(row)
|
105 |
+
|
106 |
+
print(data)
|
107 |
+
assert False
|
108 |
|
109 |
#idx = row["id"]
|
110 |
yield _id, data
|