soups-tmp-stuff / scripts /soup_caformer_m36.sh
minhnguyent546's picture
Upload folder using huggingface_hub
23206d2 verified
raw
history blame contribute delete
863 Bytes
#!/usr/bin/env bash
CHECKPOINTS_DIR='/home/khmt/Documents/TQKhangT/mthien/soups/checkpoints-sync/2025-09-19_19-37-23-caformer_m36-one_cycle_lr'
python -m soups.run_test_with_model_soups \
--seed 42 \
--checkpoint_path '/home/khmt/Documents/TQKhangT/mthien/soups/checkpoints-sync/2025-09-19_19-37-23-caformer_m36-one_cycle_lr/f1-top8' \
'/home/khmt/Documents/TQKhangT/mthien/soups/checkpoints-sync/2025-09-19_19-37-23-caformer_m36-one_cycle_lr/loss-top8' \
'/home/khmt/Documents/TQKhangT/mthien/soups/checkpoints-sync/2025-09-19_19-37-23-caformer_m36-one_cycle_lr/accuracy-top8' \
--model timm/caformer_m36.sail_in22k_ft_in1k \
--uniform_soup \
--greedy_soup \
--pruned_soup \
--pruned_soup_num_iters 64 \
--greedy_soup_comparison_metric f1 \
--dataset_dir data/ich-split-renamed \
--output_dir "${CHECKPOINTS_DIR}/soups_results"