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