Download source/project/rl_posttrain/scripts/run_study_v1.sh from lupele/StatePlay-Reward-2280: direct link, hf CLI and curl.
- Browser
- Download file 707 Bytes
-
https://huggingface.co/datasets/lupele/StatePlay-Reward-2280/resolve/main/source/project/rl_posttrain/scripts/run_study_v1.sh
- Command line
-
hf download hf://datasets/lupele/StatePlay-Reward-2280/source/project/rl_posttrain/scripts/run_study_v1.sh
-
curl -L -o run_study_v1.sh https://huggingface.co/datasets/lupele/StatePlay-Reward-2280/resolve/main/source/project/rl_posttrain/scripts/run_study_v1.sh
707 Bytes
| set -euo pipefail | |
| RL_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)" | |
| cd "${RL_ROOT}" | |
| if [[ -z "${STATEPLAY_GPT_API_KEY:-${OPENAI_API_KEY:-}}" ]]; then | |
| printf 'Configured GPT API credential is unavailable; no request was submitted.\n' >&2 | |
| exit 2 | |
| fi | |
| export PYTHONUNBUFFERED=1 | |
| export TOKENIZERS_PARALLELISM=false | |
| export STATEPLAY_API_STREAM="${STATEPLAY_API_STREAM:-1}" | |
| RL_FORMAL_CONFIG="${STATEPLAY_FORMAL_CONFIG:-${RL_ROOT}/rl_posttrain/configs/api_b_only_cctq.yaml}" | |
| exec "${RL_ROOT}/outputs/rl_posttrain/_envs/world/bin/python" -u -m rl_posttrain.watchdog \ | |
| --run-id study_v1 --config "${RL_FORMAL_CONFIG}" \ | |
| --execute-plan --auto-extend --wait-for-human-review "$@" | |