Use JSON Lines data files hosted in the Hub
#1
by
albertvillanova
HF staff
- opened
We have recently hosted the data files of this dataset in the Hugging Face Hub, and changed their format to JSON Lines (instead of JSON): see https://huggingface.co/datasets/biomrc/discussions/2
This way:
- loading the dataset requires much less RAM memory
- the preview of the dataset works as expected
- currently it shows this error for large files:
zlib.error: Error -3 while decompressing data: invalid stored block lengths
- currently it shows this error for large files:
This PR adapts the loading script so that it:
- uses the data files in the Hub
- loads them properly as JSON Lines
albertvillanova
changed pull request status to
open
gabrielaltay
changed pull request status to
merged