Unverified Commit a1cb6e98 authored by Sylvain Gugger's avatar Sylvain Gugger Committed by GitHub
Browse files

Adapt to new name of `label_smoothing_factor` training arg (#9282)

parent bcc87c63
......@@ -153,7 +153,7 @@ class TestFinetuneTrainer(TestCasePlus):
--save_steps {str(eval_steps)}
--eval_steps {str(eval_steps)}
--sortish_sampler
--label_smoothing 0.1
--label_smoothing_factor 0.1
--adafactor
--task translation
--tgt_lang ro_RO
......
......@@ -34,5 +34,5 @@ python finetune_trainer.py \
--do_train --do_eval --do_predict \
--evaluation_strategy steps \
--predict_with_generate --logging_first_step \
--task translation --label_smoothing 0.1 \
--task translation --label_smoothing_factor 0.1 \
"$@"
......@@ -35,5 +35,5 @@ python xla_spawn.py --num_cores $TPU_NUM_CORES \
--do_train --do_eval \
--evaluation_strategy steps \
--prediction_loss_only \
--task translation --label_smoothing 0.1 \
--task translation --label_smoothing_factor 0.1 \
"$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment