gabrielaltay commited on
Commit
9ff4a0e
1 Parent(s): 1a01796

read uncompressed

Browse files
Files changed (1) hide show
  1. hacdc-wikipedia.py +1 -1
hacdc-wikipedia.py CHANGED
@@ -161,7 +161,7 @@ class HacdcWikimedia20220901(datasets.GeneratorBasedBuilder):
161
  print("FP", filepath)
162
  with open(filepath, "r") as fp:
163
  for line in fp:
164
- data = json.loads(line.decode("utf-8"))
165
 
166
  if self.config.name == "all":
167
  yield _id, data
 
161
  print("FP", filepath)
162
  with open(filepath, "r") as fp:
163
  for line in fp:
164
+ data = json.loads(line)
165
 
166
  if self.config.name == "all":
167
  yield _id, data