File size: 1,824 Bytes
af0a405
 
8b05f2c
ec38361
af0a405
8b05f2c
 
 
 
 
af0a405
 
1
2
3
4
5
6
7
8
9
10
11
12
13
PROJECT_DIR=${HOME}"/models/t5-parliament-categorisation"
export PYTHONPATH=${PROJECT_DIR}
INITIAL_CHECKPOINT_PATH=\"gs://north-t5x/pretrained_models/large/norwegian_NCC_plus_English_t5x_large/checkpoint_1500000\"
TRAIN_STEPS=1510000

python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_categorisation_large.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH}  --gin.MIXTURE_OR_TASK_NAME=\"parliament\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/parliament/parliament_NCC_large_v1\" &&
python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_categorisation_large.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH}  --gin.MIXTURE_OR_TASK_NAME=\"parliament\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/parliament/parliament_NCC_large_v2\" &&
python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_categorisation_large.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH}  --gin.MIXTURE_OR_TASK_NAME=\"parliament\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/parliament/parliament_NCC_large_v3\" &&
python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_categorisation_large.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH}  --gin.MIXTURE_OR_TASK_NAME=\"parliament\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/parliament/parliament_NCC_large_v4\" &&
python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_categorisation_large.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH}  --gin.MIXTURE_OR_TASK_NAME=\"parliament\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/parliament/parliament_NCC_large_v5\"