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
1a85299a
Unverified
Commit
1a85299a
authored
Sep 15, 2020
by
Siddharth Jain
Committed by
GitHub
Sep 15, 2020
Browse files
Tiny typo fix (#7143)
parent
e29c3f1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/generation_tf_utils.py
src/transformers/generation_tf_utils.py
+1
-1
No files found.
src/transformers/generation_tf_utils.py
View file @
1a85299a
...
@@ -96,7 +96,7 @@ class TFGenerationMixin:
...
@@ -96,7 +96,7 @@ class TFGenerationMixin:
Whether to stop the beam search when at least ``num_beams`` sentences are finished per batch or not.
Whether to stop the beam search when at least ``num_beams`` sentences are finished per batch or not.
num_beams (:obj:`int`, `optional`, defaults to 1):
num_beams (:obj:`int`, `optional`, defaults to 1):
Number of beams for beam search. 1 means no beam search.
Number of beams for beam search. 1 means no beam search.
temperature (:obj:`float`, `optional`, defaults t
p
1.0):
temperature (:obj:`float`, `optional`, defaults t
o
1.0):
The value used to module the next token probabilities.
The value used to module the next token probabilities.
top_k (:obj:`int`, `optional`, defaults to 50):
top_k (:obj:`int`, `optional`, defaults to 50):
The number of highest probability vocabulary tokens to keep for top-k-filtering.
The number of highest probability vocabulary tokens to keep for top-k-filtering.
...
...
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