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

This commit is contained in:
Sylvain Gugger 2020-12-23 11:05:21 -05:00 committed by GitHub
parent bcc87c639f
commit a1cb6e9866
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 \
"$@"

View File

@ -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 \
"$@"