File size: 631 Bytes
1f38b6a | 1 2 3 4 5 6 7 8 9 10 11 | #!/usr/bin/env bash
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"
|