eP-ALM / run_scripts /float32 /image /ePALM_pt_L_caption.sh
mshukor
init
3eb682b
raw
history blame
648 Bytes
# visopt_caption_reptok_6clst_l19_31_nocache_noeostk_ptl10_ptlr1e3fixed_sharedcon_nomlp_opt_6_7b_64ep
config=./configs/image/ePALM_pt_L_caption.yaml
data_dir=data/vl_adapter/vlt5_dataset
output_dir=logs/epalm/ePALM_pt_L_caption
torchrun --nproc_per_node=8 --master_addr="localhost" --master_port=12326 float32/caption.py \
--config $config \
--output_dir $output_dir \
--data_dir $data_dir \
--save_best \
--text_model facebook/opt-6.7b \
--vision_model vit_large_patch16_224
# --resume --checkpoint $WORK/logs/visopt/ePALM_pt_L_caption/checkpoint_last.pth
# --evaluate --checkpoint $WORK/logs/visopt/ePALM_pt_L_caption/checkpoint_best.pth