Spaces:
Build error
Build error
Download evaluation/benchmarks/ml_bench/scripts/run_analysis.sh from Backup-bdg/OpenHands: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/spaces/Backup-bdg/OpenHands/resolve/main/evaluation/benchmarks/ml_bench/scripts/run_analysis.sh
- Command line
-
hf download hf://spaces/Backup-bdg/OpenHands/evaluation/benchmarks/ml_bench/scripts/run_analysis.sh
-
curl -L -o run_analysis.sh https://huggingface.co/spaces/Backup-bdg/OpenHands/resolve/main/evaluation/benchmarks/ml_bench/scripts/run_analysis.sh
487 Bytes
| RESULT_FILE=$1 | |
| MODEL_CONFIG=$2 | |
| if [ -z "$RESULT_FILE" ]; then | |
| echo "RESULT_FILE not specified" | |
| exit 1 | |
| fi | |
| if [ -z "$MODEL_CONFIG" ]; then | |
| echo "Model config not specified, use default" | |
| MODEL_CONFIG="eval_gpto" | |
| fi | |
| echo "MODEL_CONFIG: $MODEL_CONFIG" | |
| echo "RESULT_FILE: $RESULT_FILE" | |
| COMMAND="poetry run python evaluation/benchmarks/ml_bench/run_analysis.py \ | |
| --llm-config $MODEL_CONFIG \ | |
| --json_file_path $RESULT_FILE" | |
| # Run the command | |
| eval $COMMAND | |