script to run sentiment experiemnts
This commit is contained in:
parent
2800694672
commit
c63c35269a
|
|
@ -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
|
||||||
Loading…
Reference in New Issue