duplex-v0 / tools /budget_arm.sh
Jr23xd23's picture
RightNow Duplex v0
f730521 verified
Raw History Blame Contribute Delete
414 Bytes
#!/usr/bin/env bash
# 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