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
8f6c12d3
Unverified
Commit
8f6c12d3
authored
Jan 26, 2021
by
Magdalena Biesialska
Committed by
GitHub
Jan 26, 2021
Browse files
Fix fine-tuning translation scripts (#9809)
parent
c37dcff7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
examples/seq2seq/README.md
examples/seq2seq/README.md
+4
-4
No files found.
examples/seq2seq/README.md
View file @
8f6c12d3
...
@@ -78,8 +78,8 @@ python examples/seq2seq/run_seq2seq.py \
...
@@ -78,8 +78,8 @@ python examples/seq2seq/run_seq2seq.py \
--task
translation_en_to_ro
\
--task
translation_en_to_ro
\
--dataset_name
wmt16
\
--dataset_name
wmt16
\
--dataset_config_name
ro-en
\
--dataset_config_name
ro-en
\
--source_lang
en
-
XX
\
--source_lang
en
_
XX
\
--target_lang
ro
-
RO
\
--target_lang
ro
_
RO
\
--output_dir
~/tmp/tst-translation
\
--output_dir
~/tmp/tst-translation
\
--per_device_train_batch_size
=
4
\
--per_device_train_batch_size
=
4
\
--per_device_eval_batch_size
=
4
\
--per_device_eval_batch_size
=
4
\
...
@@ -96,8 +96,8 @@ python examples/seq2seq/run_seq2seq.py \
...
@@ -96,8 +96,8 @@ python examples/seq2seq/run_seq2seq.py \
--task
translation_en_to_ro
\
--task
translation_en_to_ro
\
--dataset_name
wmt16
\
--dataset_name
wmt16
\
--dataset_config_name
ro-en
\
--dataset_config_name
ro-en
\
--source_lang
en
-
XX
\
--source_lang
en
_
XX
\
--target_lang
ro
-
RO
\
--target_lang
ro
_
RO
\
--train_file
path_to_json_file
\
--train_file
path_to_json_file
\
--validation_file
path_to_json_file
\
--validation_file
path_to_json_file
\
--output_dir
~/tmp/tst-translation
\
--output_dir
~/tmp/tst-translation
\
...
...
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