| PROJECT_DIR=${HOME}"/models/danish-hate-classification" |
| export PYTHONPATH=${PROJECT_DIR} |
| INITIAL_CHECKPOINT_PATH=\"gs://north-t5x/pretrained_models/xl/scandinavian3k_t5x_xl/checkpoint_3000000\" |
| TRAIN_STEPS=3003000 |
|
|
|
|
| python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_classification_xl.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} --gin.MIXTURE_OR_TASK_NAME=\"classify_hate\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/danish_hate/classification_v1\" && |
| python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_classification_xl.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} --gin.MIXTURE_OR_TASK_NAME=\"classify_hate\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/danish_hate/classification_v2\" && |
| python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_classification_xl.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} --gin.MIXTURE_OR_TASK_NAME=\"classify_hate\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/danish_hate/classification_v3\" && |
| python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_classification_xl.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} --gin.MIXTURE_OR_TASK_NAME=\"classify_hate\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/danish_hate/classification_v4\" && |
| python3 ../../t5x/t5x/train.py --gin_search_paths="./" --gin.TRAIN_STEPS=${TRAIN_STEPS} --gin_file="finetune_classification_xl.gin" --gin.INITIAL_CHECKPOINT_PATH=${INITIAL_CHECKPOINT_PATH} --gin.MIXTURE_OR_TASK_NAME=\"classify_hate\" --gin.MODEL_DIR=\"gs://north-t5x/finetuned/danish_hate/classification_v5\" |
|
|
|
|