Download research/problems/decoding_attn/evaluate.sh from FrontierCS/Frontier-CS: direct link, hf CLI and curl.
- Browser
- Download file 439 Bytes
-
https://huggingface.co/datasets/FrontierCS/Frontier-CS/resolve/refs%2Fpr%2F3/research/problems/decoding_attn/evaluate.sh
- Command line
-
hf download hf://datasets/FrontierCS/Frontier-CS@refs/pr/3/research/problems/decoding_attn/evaluate.sh
-
curl -L -o evaluate.sh https://huggingface.co/datasets/FrontierCS/Frontier-CS/resolve/refs%2Fpr%2F3/research/problems/decoding_attn/evaluate.sh
439 Bytes
| set -euo pipefail | |
| SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) | |
| EXEC_ROOT=$(cd "$SCRIPT_DIR/../../execution_env" && pwd 2>/dev/null || true) | |
| if [[ -z "$EXEC_ROOT" ]]; then | |
| echo "Error: execution_env directory not found." >&2 | |
| exit 1 | |
| fi | |
| if [[ ! -f "$EXEC_ROOT/solution_env/solution.py" ]]; then | |
| echo "Error: Missing $EXEC_ROOT/solution_env/solution.py" >&2 | |
| exit 1 | |
| fi | |
| "$SCRIPT_DIR/run_evaluator.sh" | |