Download tools/chain.sh from RightNowAI/duplex-v0: direct link, hf CLI and curl.
- Browser
- Download file 795 Bytes
-
https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/chain.sh
- Command line
-
hf download hf://RightNowAI/duplex-v0/tools/chain.sh
-
curl -L -o chain.sh https://huggingface.co/RightNowAI/duplex-v0/resolve/main/tools/chain.sh
795 Bytes
| # Start the with-controller evaluations when controller training has ended and the | |
| # think-then-speak run no longer shares the baseline (or at 02:04Z at the latest: the | |
| # sign-in certificate ends at 02:51Z and the results must be copied off before then). | |
| cd /data/train/duplex | |
| until [ -f runs/ctl_run_end ] || [ -f runs/ctl_run_failed ]; do sleep 3; done | |
| [ -f runs/ctl_run_end ] || exit 1 | |
| until [ -f runs/think_speak_end ] || [ "$(date -u +%H%M)" -ge 0204 ]; do sleep 3; done | |
| if [ ! -f runs/think_speak_end ]; then | |
| tmux kill-session -t thinkeval 2>/dev/null | |
| echo "stopped at $(date -u +%T) with $(ls eval/results/bba_think_speak/manual | grep -c json) of 100 questions done" > runs/think_speak_stopped | |
| fi | |
| tmux kill-session -t think 2>/dev/null | |
| bash tools/eval_run.sh | |