Download tools/track_a_run.sh from RightNowAI/duplex-v0: direct link, hf CLI and curl.
- Browser
- Download file 863 Bytes
-
https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/track_a_run.sh
- Command line
-
hf download hf://RightNowAI/duplex-v0/tools/track_a_run.sh
-
curl -L -o track_a_run.sh https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/track_a_run.sh
863 Bytes
| # Everything that needs the endpoint but not the controller: the load test (released audio recipe), | |
| # then the 100 benchmark questions with manual end of turn, then the fixed-silence latency baseline. | |
| cd /data/train/duplex && . /data/train/venv/bin/activate | |
| export OMP_NUM_THREADS=8 | |
| python -u -m serving.loadtest --url http://127.0.0.1:8765/ws --wav-dir eval/data/bba --out eval/results/loadtest --turns 2 > /data/train/logs/loadtest.log 2>&1 | |
| python -u -m eval.eval_bba --url http://127.0.0.1:8765/ws --data eval/data/bba --out eval/results/bba --modes manual --concurrency 4 > /data/train/logs/bba_manual.log 2>&1 | |
| python -u -m eval.eval_latency --url http://127.0.0.1:8765/ws --data data/out/dataset --out eval/results/latency --modes vad --turns 100 --concurrency 4 > /data/train/logs/latency_vad.log 2>&1 | |
| date -u +%FT%TZ > runs/track_a_end | |