Download scripts/accept.sh from tysgydke/Qwen3-4B-LoopIntervention: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/tysgydke/Qwen3-4B-LoopIntervention/resolve/main/scripts/accept.sh
- Command line
-
hf download hf://tysgydke/Qwen3-4B-LoopIntervention/scripts/accept.sh
-
curl -L -o accept.sh https://huggingface.co/tysgydke/Qwen3-4B-LoopIntervention/resolve/main/scripts/accept.sh
540 Bytes
| # 验收三件套: $1=ckpt路径 $2=tag [$3=nvt] [$4=rank] | |
| # 输出到 /root/loop-exp/accept_$2.log | |
| CKPT=$1; TAG=$2; NVT=${3:-}; RANK=${4:-} | |
| cd /root/loop-exp | |
| { | |
| echo "===== GSM8K 60题 公平评测 (base/r1/r2) =====" | |
| OMP_NUM_THREADS=8 python -u eval_gen.py --ckpt "$CKPT" --modes base,r1,r2 ${NVT:+--nvt $NVT} ${RANK:+--rank $RANK} | |
| echo "===== wikitext CE + 引力定性面板 =====" | |
| OMP_NUM_THREADS=8 python -u eval_cont.py "$CKPT" $NVT $RANK | |
| } 2>&1 | grep --line-buffered -vE 'Warning|warn' | tee "accept_${TAG}.log" | |