Download code/scripts/run_main.sh from ProCreations/Dory-Beam-4B: direct link, hf CLI and curl.
- Browser
- Download file 739 Bytes
-
https://huggingface.co/ProCreations/Dory-Beam-4B/resolve/main/code/scripts/run_main.sh
- Command line
-
hf download hf://ProCreations/Dory-Beam-4B/code/scripts/run_main.sh
-
curl -L -o run_main.sh https://huggingface.co/ProCreations/Dory-Beam-4B/resolve/main/code/scripts/run_main.sh
739 Bytes
| # Usage: run_main.sh [EFFORT] [MAX_TOKENS] [--with-eval] | |
| # Generates the train split until the daily output-token budget hits the reserve. | |
| # --with-eval first generates teacher references for the held-out eval prompts. | |
| cd "${0:A:h}/.." | |
| e=${1:-medium}; mt=${2:-16384} | |
| if [ "$3" = "--with-eval" ]; then | |
| .venv/bin/python -I scripts/generate.py --pool data/pool.jsonl --ids data/eval_ids.txt --out data/gen/eval.jsonl --effort $e --max-tokens $mt --concurrency 20 --per-minute 55 --log-every 50 --reserve-out 50000 | |
| fi | |
| .venv/bin/python -I scripts/generate.py --pool data/pool.jsonl --ids data/train_ids.txt --out data/gen/train.jsonl --effort $e --max-tokens $mt --concurrency 20 --per-minute 55 --log-every 50 --reserve-out 50000 | |