Download release/fetch_data.sh from ThuongBuiRVC/datariengcuathuongbui: direct link, hf CLI and curl.
- Browser
- Download file 699 Bytes
-
https://huggingface.co/datasets/ThuongBuiRVC/datariengcuathuongbui/resolve/main/release/fetch_data.sh
- Command line
-
hf download hf://datasets/ThuongBuiRVC/datariengcuathuongbui/release/fetch_data.sh
-
curl -L -o fetch_data.sh https://huggingface.co/datasets/ThuongBuiRVC/datariengcuathuongbui/resolve/main/release/fetch_data.sh
699 Bytes
| # download everything training / validation / test need (public dataset repo) to a fast local SSD. | |
| # usage: bash fetch_data.sh /path/on/ssd (~625 GB: latents ~600 GB, devkit contexts ~22 GB, records, checkpoint) | |
| set -e | |
| DATA=${1:?usage: bash fetch_data.sh <data dir on SSD>} | |
| mkdir -p "$DATA" | |
| HF_XET_HIGH_PERFORMANCE=1 hf download ThuongBuiRVC/datariengcuathuongbui --repo-type dataset --local-dir "$DATA" --max-workers 32 | |
| for s in train val train_supp val_off test test_extra; do echo "cache/$s $(ls "$DATA/cache/$s" | wc -l)"; done | |
| for s in train val train_supp val_off; do echo "devkit_ctx/$s $(ls "$DATA/devkit_ctx/$s" 2>/dev/null | wc -l)"; done | |
| ls -la "$DATA/data" "$DATA/ckpt" | |