imthanhlv commited on
Commit
a60641d
1 Parent(s): f52812d
Files changed (1) hide show
  1. binhvq_dedup.py +1 -1
binhvq_dedup.py CHANGED
@@ -74,6 +74,6 @@ class Binhvq(datasets.GeneratorBasedBuilder):
74
  logging.warning(f"Generating examples from {filepath}")
75
  _id = 0
76
  reader = lm_dataformat.Reader(filepath)
77
- for doc in tqdm(reader.read_json(filepath)):
78
  yield _id, {"text": doc}
79
  _id += 1
74
  logging.warning(f"Generating examples from {filepath}")
75
  _id = 0
76
  reader = lm_dataformat.Reader(filepath)
77
+ for doc in tqdm(reader.read_jsonl(filepath)):
78
  yield _id, {"text": doc}
79
  _id += 1