Datasets:

Modalities:
Text
Formats:
json
DOI:
Libraries:
Datasets
Dask
License:

How to batch download this data from HF's datasets library?

#23
by gaochangkuan - opened

May I ask how to batch download this data from HF's datasets library?

Oasis-Team org

Sorry, this dataset is still working in progress.

You can download the dataset with the following code snippet after typing your access token:

# huggingface-cli login

from huggingface_hub import snapshot_download

snapshot_download(
    repo_id='Oasis-Team/Oasis-Corpus',
    allow_patterns=["*.jsonl.zst"],
    local_dir='your_dir',
    local_dir_use_symlinks=False,
    repo_type="dataset"
)

Sign up or log in to comment