Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d3a9601a
Unverified
Commit
d3a9601a
authored
Oct 01, 2020
by
Sam Shleifer
Committed by
GitHub
Oct 01, 2020
Browse files
[s2s] trainer scripts: Remove --run_name, thanks sylvain! (#7521)
parent
bdcc4b78
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1 addition
and
5 deletions
+1
-5
examples/seq2seq/builtin_trainer/train_distil_marian_enro.sh
examples/seq2seq/builtin_trainer/train_distil_marian_enro.sh
+0
-1
examples/seq2seq/builtin_trainer/train_distil_marian_enro_tpu.sh
...s/seq2seq/builtin_trainer/train_distil_marian_enro_tpu.sh
+0
-1
examples/seq2seq/builtin_trainer/train_distilbart_cnn.sh
examples/seq2seq/builtin_trainer/train_distilbart_cnn.sh
+1
-2
examples/seq2seq/builtin_trainer/train_mbart_cc25_enro.sh
examples/seq2seq/builtin_trainer/train_mbart_cc25_enro.sh
+0
-1
No files found.
examples/seq2seq/builtin_trainer/train_distil_marian_enro.sh
View file @
d3a9601a
...
...
@@ -19,5 +19,4 @@ python finetune_trainer.py \
--do_train
--do_eval
--do_predict
--evaluate_during_training
\
--predict_with_generate
--logging_first_step
\
--task
translation
--label_smoothing
0.1
\
--run_name
marian_en_ro_6_3
\
"
$@
"
examples/seq2seq/builtin_trainer/train_distil_marian_enro_tpu.sh
View file @
d3a9601a
...
...
@@ -20,5 +20,4 @@ python xla_spawn.py --num_cores $TPU_NUM_CORES \
--do_train
--do_eval
--evaluate_during_training
\
--prediction_loss_only
\
--task
translation
--label_smoothing
0.1
\
--run_name
marian_en_ro_6_3
\
"
$@
"
examples/seq2seq/builtin_trainer/train_distilbart_cnn.sh
View file @
d3a9601a
...
...
@@ -19,8 +19,7 @@ python finetune_trainer.py \
--num_train_epochs
=
2
\
--save_steps
3000
--eval_steps
3000
\
--logging_first_step
\
--max_target_length
$MAX_TGT_LEN
--val_max_target_length
$MAX_TGT_LEN
--test_max_target_length
$MAX_TGT_LEN
\
--max_target_length
56
--val_max_target_length
$MAX_TGT_LEN
--test_max_target_length
$MAX_TGT_LEN
\
--do_train
--do_eval
--do_predict
--evaluate_during_training
\
--predict_with_generate
\
--run_name
distilbart-cnn-12-6
\
"
$@
"
examples/seq2seq/builtin_trainer/train_mbart_cc25_enro.sh
View file @
d3a9601a
...
...
@@ -18,5 +18,4 @@ python finetune_trainer.py \
--do_train
--do_eval
--do_predict
--evaluate_during_training
\
--predict_with_generate
--logging_first_step
--task
translation
\
--run_name
mbart_en_ro
\
"
$@
"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment