Download scripts/setup_wsl.sh from BurnyCoder/occam-rl-artifacts: direct link, hf CLI and curl.
- Browser
- Download file 663 Bytes
-
https://huggingface.co/datasets/BurnyCoder/occam-rl-artifacts/resolve/main/scripts/setup_wsl.sh
- Command line
-
hf download hf://datasets/BurnyCoder/occam-rl-artifacts/scripts/setup_wsl.sh
-
curl -L -o setup_wsl.sh https://huggingface.co/datasets/BurnyCoder/occam-rl-artifacts/resolve/main/scripts/setup_wsl.sh
663 Bytes
| # Setup is intentionally separate from model execution; run only after source publication. | |
| set -euo pipefail | |
| export PATH="$HOME/.local/bin:$PATH" | |
| cd "$(dirname "$0")/.." | |
| export UV_CACHE_DIR="${UV_CACHE_DIR:-/mnt/d/AI/occam-rl/uv-cache}" | |
| export HF_HOME="${HF_HOME:-/mnt/d/AI/occam-rl/hf}" | |
| export UV_LINK_MODE="${UV_LINK_MODE:-symlink}" | |
| mkdir -p "$UV_CACHE_DIR" "$HF_HOME" | |
| uv venv --python 3.12 .venv | |
| uv sync --frozen --all-extras | |
| .venv/bin/python scripts/backport_transformers.py | |
| if [[ ! -f .env ]]; then cp .env.example .env; fi | |
| docker build -t occam-verifier:1 docker | |
| docker build -f docker/EvalPlus.Dockerfile -t occam-evalplus:0.3.1 docker | |