script to run sentiment experiemnts

This commit is contained in:
Andrea Pedrotti 2023-06-22 11:33:50 +02:00
parent 2800694672
commit c63c35269a
1 changed files with 28 additions and 0 deletions

28
run-senti.sh Normal file
View File

@ -0,0 +1,28 @@
#!bin/bash
config="-m"
echo "[Running gFun config: $config]"
epochs=100
njobs=-1
clf=singlelabel
patience=5
eval_every=5
text_len=256
text_lr=1e-4
bsize=64
txt_model=mbert
python main.py $config \
-d webis \
--epochs $epochs \
--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 \
--load_trained webis_pmwt_mean_230621