Download tools/budget_arm.sh from RightNowAI/duplex-v0: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/budget_arm.sh
- Command line
-
hf download hf://RightNowAI/duplex-v0/tools/budget_arm.sh
-
curl -L -o budget_arm.sh https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/budget_arm.sh
414 Bytes
| # One thinking-budget arm on one baseline copy: tools/budget_arm.sh <gpu> <budget> [brief] | |
| cd /data/train/duplex && . /data/train/venv/bin/activate | |
| export OMP_NUM_THREADS=4 | |
| g=$1; p=$([ "$g" = 0 ] && echo 9999 || echo 999$g) | |
| python -u -m eval.eval_bba_budget --api-url http://127.0.0.1:$p/v1/chat/completions --budget "$2" ${3:+--brief} \ | |
| > "/data/train/logs/budget_$2${3:+_brief}.log" 2>&1 | |