imthanhlv commited on
Commit
a203e97
1 Parent(s): ee824ac

change read_jsonl to read_jsonl_zst

Browse files
Files changed (1) hide show
  1. binhvq_dedup.py +1 -1
binhvq_dedup.py CHANGED
@@ -75,6 +75,6 @@ class Binhvq(datasets.GeneratorBasedBuilder):
75
  logging.warning(f"Generating examples from {filepath}")
76
  _id = 0
77
  reader = lm_dataformat.Reader(filepath)
78
- for doc in reader.read_jsonl(filepath):
79
  yield _id, {"text": doc}
80
  _id += 1
75
  logging.warning(f"Generating examples from {filepath}")
76
  _id = 0
77
  reader = lm_dataformat.Reader(filepath)
78
+ for doc in reader.read_jsonl_zst(filepath):
79
  yield _id, {"text": doc}
80
  _id += 1