dipteshkanojia commited on
Commit
0dc1574
1 Parent(s): fabacba
Files changed (1) hide show
  1. PLOD-filtered.py +1 -1
PLOD-filtered.py CHANGED
@@ -105,7 +105,7 @@ class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
105
  logger.info("generating examples from = %s", filepath)
106
  with open(filepath) as f:
107
  plod = json.load(f)
108
- for object in plod["data"]:
109
  id_ = int(object['id'])
110
  yield id_, {
111
  "id": str(id_),
 
105
  logger.info("generating examples from = %s", filepath)
106
  with open(filepath) as f:
107
  plod = json.load(f)
108
+ for object in plod:
109
  id_ = int(object['id'])
110
  yield id_, {
111
  "id": str(id_),