Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:

Use JSON Lines data files hosted in the Hub

#1
by albertvillanova HF Staff - opened
BigScience Biomedical Datasets org
•
edited Nov 23, 2022

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

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

Sign up or log in to comment