Datasets:
Download artifacts/fetch_task_variance.sh from penfever/jupiter-tasktrove-dapo-artifacts: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/datasets/penfever/jupiter-tasktrove-dapo-artifacts/resolve/main/artifacts/fetch_task_variance.sh
- Command line
-
hf download hf://datasets/penfever/jupiter-tasktrove-dapo-artifacts/artifacts/fetch_task_variance.sh
-
curl -L -o fetch_task_variance.sh https://huggingface.co/datasets/penfever/jupiter-tasktrove-dapo-artifacts/resolve/main/artifacts/fetch_task_variance.sh
419 Bytes
| # Poll Jupiter until /tmp/task_variance.out is non-empty, then copy it next to this script. | |
| OUT=$(dirname "$0")/task_variance_raw.json | |
| for i in $(seq 1 120); do | |
| if ssh Jupiter 'test -s /tmp/task_variance.out' 2>/dev/null; then | |
| ssh Jupiter 'cat /tmp/task_variance.out' > "$OUT" && echo "$(date -u +%FT%TZ) fetched $(wc -c < "$OUT") bytes" && exit 0 | |
| fi | |
| sleep 120 | |
| done | |
| echo "timeout"; exit 2 | |