-
Notifications
You must be signed in to change notification settings - Fork 1
/
run.sh
28 lines (19 loc) · 1.12 KB
/
run.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#with best threshold for each model
#retro will print the error with details for a model
python ToxiSpanSE.py --algo roberta --tokenizer roberta --threshold 0.12 --retro
python ToxiSpanSE.py --algo bert --tokenizer bert --threshold 0.15 --retro
python ToxiSpanSE.py --algo xlnet --tokenizer xlnet --threshold 0.10
python ToxiSpanSE.py --algo albert --tokenizer albert --threshold 0.11
python ToxiSpanSE.py --algo dbert --tokenizer dbert --threshold 0.17
########the following command are for predicting on validation set#####
#python ToxiSpanSE.py --algo xlnet --tokenizer xlnet --vary
#python ToxiSpanSE.py --algo albert --tokenizer albert --vary
#python ToxiSpanSE.py --algo dbert --tokenizer dbert --vary
#python ToxiSpanSE.py --algo roberta --tokenizer roberta --vary
#python ToxiSpanSE.py --algo bert --tokenizer bert --vary
#########to run the naive model use following command#############
##python naive_algorithm.py
##to calculate the krippendorff alpha, run
#python krippendorff_alpha.py
###to agrregate the results from all threshold in validation set and find the optimal threshold using graph
#python aggregate_results.py