asahi417's picture
init
0926fea
raw
history blame
6.13 kB
# training
## en_2022
python finetune_t5.py --dataset-name en_2022 --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022 --model-organization cardiffnlp --use-auth-token --skip-test
git clone https://huggingface.co/cardiffnlp/mt5-small-tweet-topic-multi-en-2022
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name en --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
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022 --dataset-name ja --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
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
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
cd mt5-small-tweet-topic-multi-en-2022 && git add . && git commit -m "update" && git push origin main && cd ..
## mix
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 --skip-test
git clone https://huggingface.co/cardiffnlp/mt5-small-tweet-topic-multi-mix
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
python finetune_t5.py -m mt5-small-tweet-topic-multi-mix --dataset-name ja --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-mix --model-organization cardiffnlp --use-auth-token
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
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
cd mt5-small-tweet-topic-multi-mix && git add . && git commit -m "update" && git push origin main && cd ..
## en_2022 -> mix
python finetune_t5.py -m cardiffnlp/mt5-small-tweet-topic-multi-en-2022 --dataset-name mix --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-mix --model-organization cardiffnlp --use-auth-token --skip-test
git clone https://huggingface.co/cardiffnlp/mt5-small-tweet-topic-multi-en-2022-mix
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022-mix --dataset-name en --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-mix --model-organization cardiffnlp --use-auth-token
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022-mix --dataset-name ja --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-mix --model-organization cardiffnlp --use-auth-token
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022-mix --dataset-name gr --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-mix --model-organization cardiffnlp --use-auth-token
python finetune_t5.py -m mt5-small-tweet-topic-multi-en-2022-mix --dataset-name es --skip-train --skip-validate --skip-upload --low-cpu-mem-usage --model-alias mt5-small-tweet-topic-multi-en-2022-mix --model-organization cardiffnlp --use-auth-token
cd mt5-small-tweet-topic-multi-en-2022-mix && git add . && git commit -m "update" && git push origin main && cd ..
## single
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
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
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
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
## en_2022 -> single
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
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
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
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
# cross-validation
for N in 0 1 2 3 4
do
for LA in en ja gr es
do
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
done
done
LA=en
for N in 0 1 2 3 4
do
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
done