Download benchmarks/run_final_pisces.sh from Nabidnur/PISCES: direct link, hf CLI and curl.
- Browser
- Download file 1.74 kB
-
https://huggingface.co/Nabidnur/PISCES/resolve/main/benchmarks/run_final_pisces.sh
- Command line
-
hf download hf://Nabidnur/PISCES/benchmarks/run_final_pisces.sh
-
curl -L -o run_final_pisces.sh https://huggingface.co/Nabidnur/PISCES/resolve/main/benchmarks/run_final_pisces.sh
1.74 kB
| # Confirmation of the frozen PISCES (ARIES #1). Usage: RESULTS=dir bash benchmarks/run_final_pisces.sh DATA_ROOT [THREADS] | |
| # Compares official e-means, PISCES, and e-means given the same approximate assignment (fairness). | |
| set -euo pipefail | |
| DATA=$1; T=${2:-4}; cd "$(dirname "$0")/.." | |
| P="python -I benchmarks/paper_protocol.py" | |
| R=${RESULTS:-results} | |
| mkdir -p "$R"; for f in deep1m_cpu ssnpp1m_cpu spacev1m_cpu; do | |
| [ "$R" != results ] && [ -f results/$f.jsonl ] && [ ! -f "$R/$f.jsonl" ] && cp results/$f.jsonl "$R/"; done | |
| sync_back() { [ "$R" != results ] && cp "$R"/*.jsonl results/ || true; } | |
| TTQ="$R"/deep1m_pisces_time_to_quality_val.jsonl | |
| [ -f "$TTQ" ] || { [ -f "$R"/deep1m_v3_time_to_quality_val.jsonl ] && grep '"method": "official"' "$R"/deep1m_v3_time_to_quality_val.jsonl > "$TTQ" || true; } | |
| # 1. time-to-quality, validation rows | |
| $P "$DATA/deep1b" "$TTQ" --eval val --seeds 1 2 3 4 5 --epochs 3 5 --methods official --threads $T | |
| $P "$DATA/deep1b" "$TTQ" --eval val --seeds 1 2 3 4 5 --epochs 1 2 3 4 --methods pisces --threads $T | |
| $P "$DATA/deep1b" "$TTQ" --eval val --seeds 1 2 3 4 5 --epochs 3 --methods emeans_approx --threads $T | |
| sync_back | |
| # 2. DEEP* 1M test rows, report seeds 10-19 | |
| $P "$DATA/deep1b" "$R"/deep1m_cpu.jsonl --epochs 1 3 5 --seeds 10 11 12 13 14 15 16 17 18 19 --methods official pisces --threads $T | |
| $P "$DATA/deep1b" "$R"/deep1m_cpu.jsonl --epochs 3 --seeds 10 11 12 13 14 15 16 17 18 19 --methods emeans_approx --threads $T | |
| sync_back | |
| # 3. held-out datasets | |
| for D in "ssnpp fb-ssnpp-1M ssnpp1m_cpu" "spacev spacev-1M spacev1m_cpu"; do set -- $D | |
| $P "$DATA/$1" "$R"/$3.jsonl --dataset $2 --epochs 3 --seeds 10 11 12 13 14 --methods official pisces emeans_approx --threads $T | |
| done | |
| sync_back | |