-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathservice.sh
executable file
·56 lines (50 loc) · 1.97 KB
/
service.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
python service.py \
--model coai/v2_roberta_large_76_8955 \
--epoch "" \
--gpu 4 \
--span_thres 0.5 \
--bert_path hfl/chinese-roberta-wwm-ext-large
#for x in fold_10_27_8913 fold_1_62_8942 fold_2_80_8932 fold_3_36_8911 fold_4_60_8936 fold_5_71_8849 fold_6_80_8943 fold_7_62_8952 fold_8_60_8902 fold_9_23_8970
#do
# python evaluate.py \
# --dataset ./data/coai.test_with_noise.sentences.txt \
# --model coai_onlyp2/$x \
# --epoch "" \
# --gpu 7 \
# --span_thres 0.5 \
# --bert_path hfl/chinese-roberta-wwm-ext-large \
# --dump_decisions_instead
#done
#for x in fold_10_80_8947 fold_1_57_8966 fold_2_76_8889 fold_3_77_8931 fold_4_77_8994 fold_5_43_8855 fold_6_51_8968 fold_7_34_8912 fold_8_79_8934
#do
# python evaluate.py \
# --dataset ./data/coai.test_with_noise.sentences.txt \
# --model coai_p1p2/$x\_extlen \
# --epoch "" \
# --gpu 7 \
# --span_thres 0.5 \
# --bert_path hfl/chinese-roberta-wwm-ext-large \
# --dump_decisions_instead
#done
#for x in fold_9_79_9007
#do
# python evaluate.py \
# --dataset ./data/coai.test_with_noise.sentences.txt \
# --model coai_p1p2/$x \
# --epoch "" \
# --gpu 7 \
# --span_thres 0.5 \
# --bert_path hfl/chinese-roberta-wwm-ext-large \
# --dump_decisions_instead
#done
#for x in fold_10_64_8927 fold_1_71_9022 fold_2_77_8992 fold_3_71_8962 fold_4_68_8986 fold_5_29_8887 fold_6_72_8982 fold_7_39_8948 fold_8_77_8943 fold_9_43_9013
#do
# python evaluate.py \
# --dataset ./data/coai.test_with_noise.sentences.txt \
# --model coai_p1p2_slv1500/$x \
# --epoch "" \
# --gpu 5 \
# --span_thres 0.5 \
# --bert_path hfl/chinese-roberta-wwm-ext-large \
# --dump_decisions_instead
#done