system's picture
system HF Staff
Mirror GitHub f31f2ceadd54
fd74a4d verified
Raw History Blame Contribute Delete
215 Bytes
import json
from tqdm import tqdm
def read_jsonl(path: str):
data = []
with open(path) as f:
for line in f:
line = line.strip()
data.append(json.loads(line))
return data