Datasets:

Modalities:
Text
ArXiv:
Libraries:
Datasets

How can I download the sample-10B fastestly?

#28
by zgxiao - opened

The below command shows that 840 files will be downloaded. Does it make sense? Can I speedup by not downloading unnecessary files?

ds = load_dataset("togethercomputer/RedPajama-Data-V2",
                  name="sample-10B",
                  trust_remote_code=True)
Together org

Hi @zgxiao , you can speed up the download with multiprocessing, by setting the num_proc argument to the number of available cores on your machine -- check out the docs here: https://huggingface.co/docs/datasets/loading#multiprocessing

Sign up or log in to comment