Download scripts/prepare_from_upstream.sh from Jack04810/RAVEC-data-backup: direct link, hf CLI and curl.
- Browser
- Download file 631 Bytes
-
https://huggingface.co/datasets/Jack04810/RAVEC-data-backup/resolve/main/scripts/prepare_from_upstream.sh
- Command line
-
hf download hf://datasets/Jack04810/RAVEC-data-backup/scripts/prepare_from_upstream.sh
-
curl -L -o prepare_from_upstream.sh https://huggingface.co/datasets/Jack04810/RAVEC-data-backup/resolve/main/scripts/prepare_from_upstream.sh
631 Bytes
| set -euo pipefail | |
| unset HTTP_PROXY HTTPS_PROXY ALL_PROXY http_proxy https_proxy all_proxy | |
| DATA_ROOT=${1:?usage: $0 DATA_ROOT} | |
| mkdir -p "$DATA_ROOT" | |
| command -v hf >/dev/null 2>&1 || { echo 'hf CLI is required (pip install -U huggingface_hub)' >&2; exit 1; } | |
| hf download PAPOGalaxy/PAPO_ViRL39K_train --repo-type dataset --local-dir "$DATA_ROOT/PAPO_ViRL39K_train" | |
| hf download PAPOGalaxy/PAPO_MMK12_test --repo-type dataset --local-dir "$DATA_ROOT/PAPO_MMK12_test" | |
| hf download PAPO-Galaxy/PAPO_eval --repo-type dataset --local-dir "$DATA_ROOT/PAPO_eval" | |
| echo "Downloaded official public sources under $DATA_ROOT" | |