init
Browse files- training_scripts/script.sh +19 -4
training_scripts/script.sh
CHANGED
@@ -8,7 +8,7 @@ python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name ja -
|
|
8 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name gr --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022 --model-organization cardiffnlp --use-auth-token
|
9 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name es --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022 --model-organization cardiffnlp --use-auth-token
|
10 |
cd mt5-small-tweet-topic-multi-en-2022 && git add . && git commit -m "update" && git push origin main && cd ..
|
11 |
-
|
12 |
python finetune_t5.py --dataset-name mix --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
13 |
git clone https://huggingface.co/cardiffnlp/mt5-small-tweet-topic-multi-mix
|
14 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name en --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
@@ -16,15 +16,30 @@ python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name ja --ski
|
|
16 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name gr --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
17 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name es --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
18 |
cd mt5-small-tweet-topic-multi-mix && git add . && git commit -m "update" && git push origin main && cd ..
|
19 |
-
|
20 |
## single
|
21 |
python finetune_t5.py --dataset-name en --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en --model-organization cardiffnlp --use-auth-token
|
22 |
python finetune_t5.py --dataset-name ja --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-ja --model-organization cardiffnlp --use-auth-token
|
23 |
python finetune_t5.py --dataset-name gr --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-gr --model-organization cardiffnlp --use-auth-token
|
24 |
python finetune_t5.py --dataset-name es --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-es --model-organization cardiffnlp --use-auth-token
|
25 |
-
|
26 |
-
# continuous
|
27 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name es --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-es --model-organization cardiffnlp --use-auth-token
|
28 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name en --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-en --model-organization cardiffnlp --use-auth-token
|
29 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name ja --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-ja --model-organization cardiffnlp --use-auth-token
|
30 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name gr --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-gr --model-organization cardiffnlp --use-auth-token
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name gr --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022 --model-organization cardiffnlp --use-auth-token
|
9 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name es --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022 --model-organization cardiffnlp --use-auth-token
|
10 |
cd mt5-small-tweet-topic-multi-en-2022 && git add . && git commit -m "update" && git push origin main && cd ..
|
11 |
+
## mix
|
12 |
python finetune_t5.py --dataset-name mix --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
13 |
git clone https://huggingface.co/cardiffnlp/mt5-small-tweet-topic-multi-mix
|
14 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name en --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
|
|
16 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name gr --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
17 |
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name es --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
|
18 |
cd mt5-small-tweet-topic-multi-mix && git add . && git commit -m "update" && git push origin main && cd ..
|
|
|
19 |
## single
|
20 |
python finetune_t5.py --dataset-name en --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en --model-organization cardiffnlp --use-auth-token
|
21 |
python finetune_t5.py --dataset-name ja --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-ja --model-organization cardiffnlp --use-auth-token
|
22 |
python finetune_t5.py --dataset-name gr --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-gr --model-organization cardiffnlp --use-auth-token
|
23 |
python finetune_t5.py --dataset-name es --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-es --model-organization cardiffnlp --use-auth-token
|
24 |
+
## continuous
|
|
|
25 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name es --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-es --model-organization cardiffnlp --use-auth-token
|
26 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name en --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-en --model-organization cardiffnlp --use-auth-token
|
27 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name ja --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-ja --model-organization cardiffnlp --use-auth-token
|
28 |
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name gr --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-gr --model-organization cardiffnlp --use-auth-token
|
29 |
+
|
30 |
+
# cross-validation
|
31 |
+
for N in 0 1 2 3 4
|
32 |
+
do
|
33 |
+
for LA in en ja gr es
|
34 |
+
do
|
35 |
+
python finetune_t5.py --dataset-name ${LA}_cross_validation_${N} --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-${LA}-cross-validation-${N} --model-organization cardiffnlp --use-auth-token
|
36 |
+
done
|
37 |
+
done
|
38 |
+
|
39 |
+
|
40 |
+
LA=en
|
41 |
+
for N in 0 1 2 3 4
|
42 |
+
do
|
43 |
+
python finetune_t5.py -m t5-small --dataset-name ${LA}_cross_validation_${N} --low-cpu-mem-usage --model-alias t5-small-tweet-topic-multi-${LA}-cross-validation-${N} --model-organization cardiffnlp --use-auth-token
|
44 |
+
done
|
45 |
+
|