Datasets:
Size:
10K<n<100K
License:
File size: 466 Bytes
44f789f |
1 2 3 4 5 |
# download and extract all data to folders of .h5 files, will also remove the compressed tar and blobs (see the input arguments)
# chunk decides how many tars will be downloaded and extracted before removing them, num_proc allows multiple tar to be downloaded at once (limited by chunk)
from datasets import load_dataset
ds = load_dataset("xingjianli/tomatotest", name="full",split="train",trust_remote_code=True, extract=True, remove_tar=True, chunk=4, num_proc=4)
|