change read_jsonl to read_jsonl_zst
Browse files- 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.
|
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
|