khalidalt commited on
Commit
bd7fba4
1 Parent(s): b2c28fa

Update tydiqa-goldp.py

Browse files
Files changed (1) hide show
  1. 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
- #data = json.loads(row)
105
- print(row)
 
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