Datasets:

Tasks:
Other
Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
Libraries:
Datasets
Dask
License:

How to use the P3 datasets after downloading?

#7
by Yingxiu - opened

Hi,

I have cloned the data repository, but I noticed that it's difficult to load some certain datasets through load_dataset() function from 'datasets' package. Is there any script I can follow to use my locally stored P3 datasets?

Thank you.

BigScience Workshop org

Hi @Yingxiu ,
Happy to help but not sure I understand. Can you be more specific about your request? are you trying to load a specific subset of P3 for instance?

Hi @VictorSanh ,

Yep, I'm trying to load a subset of P3 from a locally downloaded P3 dataset. I have downloaded P3 through 'git clone https://huggingface.co/datasets/bigscience/P3', but I cannot load it through "load_dataset('./P3', data_dir='./P3/adversarial_qa_dbert_answer_the_following_q')" for example. May you help me with that?

Thank you so much!

BigScience Workshop org

I think data_dir is relative to the dataset directory you're specifying. Try it without the full path.

Sign up or log in to comment