# gpuq-in:  results-loop/star_data.json results-loop/gsm_cot_data.json results-loop/adapter_carrycot_e400.pt
# gpuq-out: results-loop/eval_gsm_carrycot_b1_lg*.json results-loop/eval_gsm_carrycot_b1_lt03_lg*.json results-loop/train_carrycot_b1_l*_log.json results-loop/adapter_carrycot_b1_l*_e200.pt
git pull origin main -q 2>/dev/null
P=/home/nils/jspace/.venv/bin/python
export JLENS_MODEL=google/gemma-4-E2B-it LOOP_OUT=/home/nils/jspace/results-loop
cd /home/nils/jspace/scripts
# arm a: staging-only
$P train_carry_cot.py --drop-steps 1 --warm-start $LOOP_OUT/adapter_carrycot_e400.pt \
   --steps 200 --lr 3e-4 --lensteach-gen 0.3
$P eval_carry_cot.py --adapter $LOOP_OUT/adapter_carrycot_b1_lg03_e200.pt \
   --tag gsm_carrycot_b1_lg03 --grid 0:0,2:12,2:16 --n 256
# arm b: full lens curriculum (pauses + staging)
$P train_carry_cot.py --drop-steps 1 --warm-start $LOOP_OUT/adapter_carrycot_e400.pt \
   --steps 200 --lr 3e-4 --lensteach 0.3 --lensteach-gen 0.3
$P eval_carry_cot.py --adapter $LOOP_OUT/adapter_carrycot_b1_lt03_lg03_e200.pt \
   --tag gsm_carrycot_b1_lt03_lg03 --grid 0:0,2:12,2:16 --n 256
