-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrun_roberta.sh
64 lines (56 loc) · 1.43 KB
/
run_roberta.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
56
57
58
59
60
61
62
63
### 2. For Ji split, change the dataset to pdtb2 or pdtb3
# 2
<<"COMMENT"
python3 train_roberta.py --do_train \
--dataset="test" \
--label_file="labels_level_1.txt"
COMMENT
# 8
# 10
# <<"COMMENT"
for seed in 106524 106464 106537 219539 430683
do
python3 train_roberta.py --do_train \
--dataset="pdtb2" \
--label_file="labels_level_1.txt" \
--seed=${seed}
done
# COMMENT
# 20
sleep 10s
# 24
# <<"COMMENT"
for seed in 106524 106464 106537 219539 430683
do
python3 train_roberta.py --do_train \
--dataset="pdtb2" \
--label_file="labels_level_2.txt" \
--seed=${seed}
done
# COMMENT
# 34
sleep 10s
### 2. For xval, change the dataset to pdtb2 or pdtb3
# 39
# <<"COMMENT"
for idx in 1 2 3 4 5 6 7 8 9 10 11 12
do
python3 train_roberta.py --do_train \
--dataset="pdtb2" \
--fold_id=${idx} \
--label_file="labels_level_1.txt"
done
# COMMENT
# 49
sleep 10s
# 53
# <<"COMMENT"
for idx in 1 2 3 4 5 6 7 8 9 10 11 12
do
python3 train_roberta.py --do_train \
--dataset="pdtb2" \
--fold_id=${idx} \
--label_file="labels_level_2.txt"
done
# COMMENT
# 63