Final job: 30 epochs, no early stopping
Browse files- slurm/final.slurm +3 -2
slurm/final.slurm
CHANGED
|
@@ -14,7 +14,8 @@
|
|
| 14 |
|
| 15 |
# Final models: the best config of the Optuna search (runs/hpo/best.json, trial 12:
|
| 16 |
# lr 2.2273846302530813e-3, weight decay 0.1701622357313687, dropout 0.0), one model
|
| 17 |
-
# per seed (array index = seed 1, 2, 3). 30 epochs, one-cycle
|
|
|
|
| 18 |
# checkpoint selection on Norma validation mixed accuracy. Each model is then scored
|
| 19 |
# on Norma test and validation.
|
| 20 |
|
|
@@ -40,7 +41,7 @@ py="$repo/.venv/bin/python"
|
|
| 40 |
|
| 41 |
"$py" train.py --cache cache/oga-no-norma --output_dir "$out" --seed "$seed" \
|
| 42 |
--lr 0.0022273846302530813 --weight_decay 0.1701622357313687 --dropout 0.0 \
|
| 43 |
-
--epochs 30 --patience
|
| 44 |
|
| 45 |
stamp "scoring $out/best on Norma"
|
| 46 |
"$py" evaluate.py --models "$out/best" --splits test validation --out "$out/eval"
|
|
|
|
| 14 |
|
| 15 |
# Final models: the best config of the Optuna search (runs/hpo/best.json, trial 12:
|
| 16 |
# lr 2.2273846302530813e-3, weight decay 0.1701622357313687, dropout 0.0), one model
|
| 17 |
+
# per seed (array index = seed 1, 2, 3). 30 epochs (chosen by slurm/epochs.slurm), one-cycle
|
| 18 |
+
# schedule over the full run, no early stopping (--patience 0),
|
| 19 |
# checkpoint selection on Norma validation mixed accuracy. Each model is then scored
|
| 20 |
# on Norma test and validation.
|
| 21 |
|
|
|
|
| 41 |
|
| 42 |
"$py" train.py --cache cache/oga-no-norma --output_dir "$out" --seed "$seed" \
|
| 43 |
--lr 0.0022273846302530813 --weight_decay 0.1701622357313687 --dropout 0.0 \
|
| 44 |
+
--epochs 30 --patience 0 --select_metric norma_val_acc
|
| 45 |
|
| 46 |
stamp "scoring $out/best on Norma"
|
| 47 |
"$py" evaluate.py --models "$out/best" --splits test validation --out "$out/eval"
|