Download source/project/scripts/run_examples.sh from lupele/StatePlay-Reward-2280: direct link, hf CLI and curl.
- Browser
- Download file 395 Bytes
-
https://huggingface.co/datasets/lupele/StatePlay-Reward-2280/resolve/main/source/project/scripts/run_examples.sh
- Command line
-
hf download hf://datasets/lupele/StatePlay-Reward-2280/source/project/scripts/run_examples.sh
-
curl -L -o run_examples.sh https://huggingface.co/datasets/lupele/StatePlay-Reward-2280/resolve/main/source/project/scripts/run_examples.sh
395 Bytes
| set -euo pipefail | |
| ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| PYTHON_BIN="${PYTHON_BIN:-python}" | |
| BASE_MODEL="${STATEPLAY_BASE_MODEL:-${ROOT}/base_model}" | |
| CHECKPOINT="${STATEPLAY_CHECKPOINT:-${ROOT}/examples/checkpoint/StatePlay.safetensors}" | |
| cd "${ROOT}" | |
| "${PYTHON_BIN}" scripts/generate_examples.py --base-model "${BASE_MODEL}" --checkpoint "${CHECKPOINT}" "$@" | |