`streaming=True` cause error

#1
by penut85420 - opened

Reproduction Steps:

ds = load_dataset("hplt_monolingual_v1_2", "ky", trust_remote_code=True, streaming=True)
# FileNotFoundError: [Errno 2] No such file or directory: '/path/to/cwd/https:/data.hplt-project.org/one/monotext/ky_map.txt'

The issue is located at: https://huggingface.co/datasets/HPLT/hplt_monolingual_v1_2/blob/main/hplt_monolingual_v1_2.py#L161

The method dl_manager.download(url) returns only the original URL when streaming=True. Is it possible to support streaming?

Sign up or log in to comment