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
03e46c1d
Unverified
Commit
03e46c1d
authored
Sep 30, 2020
by
Sam Shleifer
Committed by
GitHub
Sep 30, 2020
Browse files
[s2s] fix kwargs style (#7488)
parent
6fe8a693
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
examples/seq2seq/run_distributed_eval.py
examples/seq2seq/run_distributed_eval.py
+2
-1
No files found.
examples/seq2seq/run_distributed_eval.py
View file @
03e46c1d
...
...
@@ -176,7 +176,8 @@ def run_generate():
max_source_length
=
args
.
max_source_length
,
num_return_sequences
=
args
.
num_return_sequences
,
prefix
=
args
.
prefix
,
dataset_kwargs
=
dataset_kwargs
**
generate_kwargs
,
dataset_kwargs
=
dataset_kwargs
,
**
generate_kwargs
,
)
if
args
.
local_rank
<=
0
:
...
...
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