Streaming not supported for TAR files
#1
by
albertvillanova
HF staff
- opened
Ass reported on our GitHub repo, your dataset source data file is a TAR file and unfortunately, TAR files are not supported "out-of-the-box" in streaming mode.
Alternatively, you could make your dataset support streaming mode by using dl_manager.iter_archive
for the downloaded TAR file.
You can find several examples in other datasets, e.g.: "flue" dataset for "PAWS-X" config: https://huggingface.co/datasets/flue/viewer/PAWS-X/train