khalidalt commited on
Commit
7017e4b
1 Parent(s): 0227f5e

Update tydiqa-goldp.py

Browse files
Files changed (1) hide show
  1. tydiqa-goldp.py +4 -1
tydiqa-goldp.py CHANGED
@@ -100,7 +100,10 @@ class tydiqa_GoldP(datasets.GeneratorBasedBuilder):
100
  # TODO(tydiqa): Yields (key, example) tuples from the dataset
101
 
102
  with open(filepath, encoding="utf-8") as f:
103
- print(f)
 
 
 
104
  data = json.load(f)
105
  for article in data["data"]:
106
  title = article.get("title", "").strip()
 
100
  # TODO(tydiqa): Yields (key, example) tuples from the dataset
101
 
102
  with open(filepath, encoding="utf-8") as f:
103
+ for row in f:
104
+ print("Here:")
105
+ print(row)
106
+ assert False
107
  data = json.load(f)
108
  for article in data["data"]:
109
  title = article.get("title", "").strip()