Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
d2da2cb2
"...resnet50_tensorflow.git" did not exist on "f57fa41e1bf90213690ad0f6b2babca9853d176c"
Unverified
Commit
d2da2cb2
authored
Aug 17, 2020
by
Sam Shleifer
Committed by
GitHub
Aug 17, 2020
Browse files
allow spaces in bash args with "$@" (#6521)
parent
b41cc0b8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
examples/seq2seq/finetune_bart_tiny.sh
examples/seq2seq/finetune_bart_tiny.sh
+1
-1
examples/seq2seq/finetune_pegasus_xsum.sh
examples/seq2seq/finetune_pegasus_xsum.sh
+1
-1
examples/seq2seq/finetune_t5.sh
examples/seq2seq/finetune_t5.sh
+1
-1
examples/seq2seq/run_distiller.sh
examples/seq2seq/run_distiller.sh
+1
-1
examples/seq2seq/train_distilbart_cnn.sh
examples/seq2seq/train_distilbart_cnn.sh
+1
-1
examples/seq2seq/train_distilbart_xsum.sh
examples/seq2seq/train_distilbart_xsum.sh
+1
-1
examples/seq2seq/train_mbart_cc25_enro.sh
examples/seq2seq/train_mbart_cc25_enro.sh
+1
-1
No files found.
examples/seq2seq/finetune_bart_tiny.sh
View file @
d2da2cb2
...
@@ -23,7 +23,7 @@ python finetune.py \
...
@@ -23,7 +23,7 @@ python finetune.py \
--output_dir
=
$OUTPUT_DIR
\
--output_dir
=
$OUTPUT_DIR
\
--num_train_epochs
=
1
\
--num_train_epochs
=
1
\
--gpus
=
0
\
--gpus
=
0
\
--do_train
$@
--do_train
"
$@
"
rm
-rf
cnn_tiny
rm
-rf
cnn_tiny
rm
-rf
$OUTPUT_DIR
rm
-rf
$OUTPUT_DIR
...
...
examples/seq2seq/finetune_pegasus_xsum.sh
View file @
d2da2cb2
...
@@ -11,4 +11,4 @@ python finetune.py \
...
@@ -11,4 +11,4 @@ python finetune.py \
--val_check_interval
0.25
\
--val_check_interval
0.25
\
--max_source_length
512
--max_target_length
56
\
--max_source_length
512
--max_target_length
56
\
--freeze_embeds
--max_target_length
56
--label_smoothing
0.1
\
--freeze_embeds
--max_target_length
56
--label_smoothing
0.1
\
$@
"
$@
"
examples/seq2seq/finetune_t5.sh
View file @
d2da2cb2
...
@@ -11,4 +11,4 @@ python finetune.py \
...
@@ -11,4 +11,4 @@ python finetune.py \
--max_target_length
=
56
\
--max_target_length
=
56
\
--val_check_interval
=
0.1
--n_val
=
200
\
--val_check_interval
=
0.1
--n_val
=
200
\
--do_train
--do_predict
\
--do_train
--do_predict
\
$@
"
$@
"
examples/seq2seq/run_distiller.sh
View file @
d2da2cb2
...
@@ -7,4 +7,4 @@ python distillation.py \
...
@@ -7,4 +7,4 @@ python distillation.py \
--do_predict
\
--do_predict
\
--fp16
\
--fp16
\
--val_check_interval
0.1
\
--val_check_interval
0.1
\
$@
"
$@
"
examples/seq2seq/train_distilbart_cnn.sh
View file @
d2da2cb2
...
@@ -20,5 +20,5 @@ python finetune.py \
...
@@ -20,5 +20,5 @@ python finetune.py \
--tokenizer_name
facebook/bart-large
\
--tokenizer_name
facebook/bart-large
\
--warmup_steps
500
\
--warmup_steps
500
\
--output_dir
distilbart-cnn-12-6
\
--output_dir
distilbart-cnn-12-6
\
$@
"
$@
"
examples/seq2seq/train_distilbart_xsum.sh
View file @
d2da2cb2
...
@@ -18,4 +18,4 @@ python distillation.py \
...
@@ -18,4 +18,4 @@ python distillation.py \
--tokenizer_name
facebook/bart-large
\
--tokenizer_name
facebook/bart-large
\
--warmup_steps
500
\
--warmup_steps
500
\
--output_dir
distilbart_xsum_12_6
\
--output_dir
distilbart_xsum_12_6
\
$@
"
$@
"
examples/seq2seq/train_mbart_cc25_enro.sh
View file @
d2da2cb2
...
@@ -15,4 +15,4 @@ python finetune.py \
...
@@ -15,4 +15,4 @@ python finetune.py \
--warmup_steps
500
\
--warmup_steps
500
\
--freeze_embeds
\
--freeze_embeds
\
--model_name_or_path
=
facebook/mbart-large-cc25
\
--model_name_or_path
=
facebook/mbart-large-cc25
\
$@
"
$@
"
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