138 lines
3.0 KiB
Bash
138 lines
3.0 KiB
Bash
#!bin/bash
|
|
|
|
njobs=-1
|
|
clf=singlelabel
|
|
patience=5
|
|
eval_every=5
|
|
text_len=512
|
|
text_lr=1e-4
|
|
bsize=2
|
|
txt_model=mbert
|
|
dataset=webis
|
|
|
|
config="-p"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-m"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-w"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-t"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-pm"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-pmw"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-pt"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-pmt"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|
|
|
|
config="-pmwt"
|
|
echo "[Running gFun config: $config]"
|
|
python main.py $config \
|
|
-d $dataset\
|
|
--nosave \
|
|
--n_jobs $njobs \
|
|
--clf_type $clf \
|
|
--patience $patience \
|
|
--evaluate_step $eval_every \
|
|
--batch_size $bsize \
|
|
--max_length $text_len \
|
|
--textual_lr $text_lr \
|
|
--textual_trf_name $txt_model\
|