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
d18d47be
Commit
d18d47be
authored
Jan 31, 2020
by
Lysandre
Browse files
run_generation style
parent
ff6f1492
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/run_generation.py
examples/run_generation.py
+1
-1
No files found.
examples/run_generation.py
View file @
d18d47be
...
@@ -221,7 +221,7 @@ def main():
...
@@ -221,7 +221,7 @@ def main():
top_k
=
args
.
k
,
top_k
=
args
.
k
,
top_p
=
args
.
p
,
top_p
=
args
.
p
,
repetition_penalty
=
args
.
repetition_penalty
,
repetition_penalty
=
args
.
repetition_penalty
,
do_sample
=
True
do_sample
=
True
,
)
)
# Batch size == 1. to add more examples please use num_return_sequences > 1
# Batch size == 1. to add more examples please use num_return_sequences > 1
...
...
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