-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathrun.sh
30 lines (26 loc) · 1.05 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
29
datasets_target=('CONLL2003')
k_shots=('1' '5')
python3 main.py --mode use_type_name \
--train True \
--dataset_source Ontonotes \
--dataset_target CONLL2003 \
--k_shot 1 \
--seed 42 \
--test_stage1_only False\
--test_stage2_only False \
--filter True
for _dataset_target in "${datasets_target[@]}"
do
for _k_shot in "${k_shots[@]}"
do
python3 main.py --mode use_type_name \
--train False \
--dataset_source Ontonotes \
--dataset_target $_dataset_target \
--k_shot $_k_shot \
--seed 42 \
--test_stage1_only False\
--test_stage2_only False \
--filter True
done
done