-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrs_finetune_all_models.sh
97 lines (85 loc) · 2.81 KB
/
crs_finetune_all_models.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#!/bin/bash
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1900_1909.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1900_1909
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1910_1919.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1910_1919
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1920_1929.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1920_1929
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1930_1939.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1930_1939
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1940_1949.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1940_1949
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1950_1959.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1950_1959
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1960_1969.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1960_1969
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1970_1979.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1970_1979
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1980_1989.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1980_1989
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_1990_1999.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/1990_1999
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_2000_2009.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/2000_2009
python run_mlm.py \
--model_name_or_path distilbert-base-uncased \
--train_file ./crs_corpus/decade_2010_2020.txt \
--do_train \
--overwrite_cache \
--overwrite_output_dir \
--output_dir ./crs_models/2010_2020