Not working on Streaming mode

#7
by marcosbc - opened

Hello,

I am trying to work with the pmc_oa dataset in streaming mode. I can load the dataset but it fails when I start iterating on the dataloader. This is the message I receive:

line 139, in _generate_examples
    with jsonlines.open(filepath) as reader:
  File "/home/gonta/miniconda3/lib/python3.9/site-packages/jsonlines/jsonlines.py", line 627, in open
    fp = builtins.open(file, mode=mode + "t", encoding=encoding)
FileNotFoundError: [Errno 2] No such file or directory: 'https://huggingface.co/datasets/axiong/pmc_oa/resolve/main/pmc_oa.jsonl'

Can you give me some advise about how to fix it? or is it working on streaming?

Sign up or log in to comment