zefancainlp's picture
download
raw
627 Bytes
#!/usr/bin/env bash
set -euo pipefail
cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.."
task="${1:-}"
case "$task" in
ac1|ac2|cp26|cp32|erdos) profile=train-math ;;
denoising) profile=train-denoising ;;
*)
echo 'Usage: bash scripts/run.sh {denoising|erdos|ac1|ac2|cp26|cp32} --model-path PATH --run-dir PATH [runtime options]'
exit 2
;;
esac
export PYTHONNOUSERSITE=1
export HF_HOME="$PWD/.cache/huggingface"
export OPENPROBLEMS_CACHE_DIR="$PWD/.cache/openproblems"
export HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1
unset PYTHONPATH VIRTUAL_ENV
exec ".venv-$profile/bin/python" -m ttt_discover.runtime.launch "$@"

Xet Storage Details

Size:
627 Bytes
·
Xet hash:
d8d28dc0156b9e4f76e9843bb216262cf2f76389280a2639346cd3b602723049

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.