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
1eb58b45
Unverified
Commit
1eb58b45
authored
Jun 02, 2021
by
Jeoung-Minju
Committed by
GitHub
Jun 01, 2021
Browse files
typo correction (#11973)
* typo correction * type corrections
parent
79712e7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/transformers/generation_utils.py
src/transformers/generation_utils.py
+6
-6
No files found.
src/transformers/generation_utils.py
View file @
1eb58b45
...
@@ -769,7 +769,7 @@ class GenerationMixin:
...
@@ -769,7 +769,7 @@ class GenerationMixin:
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
returned tensors for more details.
returned tensors for more details.
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return t
r
he hidden states of all layers. See ``hidden_states`` under returned tensors
Whether or not to return the hidden states of all layers. See ``hidden_states`` under returned tensors
for more details.
for more details.
output_scores (:obj:`bool`, `optional`, defaults to `False`):
output_scores (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
...
@@ -1187,7 +1187,7 @@ class GenerationMixin:
...
@@ -1187,7 +1187,7 @@ class GenerationMixin:
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
returned tensors for more details.
returned tensors for more details.
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return t
r
he hidden states of all layers. See ``hidden_states`` under returned tensors
Whether or not to return the hidden states of all layers. See ``hidden_states`` under returned tensors
for more details.
for more details.
output_scores (:obj:`bool`, `optional`, defaults to `False`):
output_scores (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
...
@@ -1416,7 +1416,7 @@ class GenerationMixin:
...
@@ -1416,7 +1416,7 @@ class GenerationMixin:
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
returned tensors for more details.
returned tensors for more details.
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return t
r
he hidden states of all layers. See ``hidden_states`` under returned tensors
Whether or not to return the hidden states of all layers. See ``hidden_states`` under returned tensors
for more details.
for more details.
output_scores (:obj:`bool`, `optional`, defaults to `False`):
output_scores (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
...
@@ -1657,7 +1657,7 @@ class GenerationMixin:
...
@@ -1657,7 +1657,7 @@ class GenerationMixin:
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
returned tensors for more details.
returned tensors for more details.
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return t
r
he hidden states of all layers. See ``hidden_states`` under returned tensors
Whether or not to return the hidden states of all layers. See ``hidden_states`` under returned tensors
for more details.
for more details.
output_scores (:obj:`bool`, `optional`, defaults to `False`):
output_scores (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
...
@@ -1953,7 +1953,7 @@ class GenerationMixin:
...
@@ -1953,7 +1953,7 @@ class GenerationMixin:
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
returned tensors for more details.
returned tensors for more details.
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return t
r
he hidden states of all layers. See ``hidden_states`` under returned tensors
Whether or not to return the hidden states of all layers. See ``hidden_states`` under returned tensors
for more details.
for more details.
output_scores (:obj:`bool`, `optional`, defaults to `False`):
output_scores (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
...
@@ -2250,7 +2250,7 @@ class GenerationMixin:
...
@@ -2250,7 +2250,7 @@ class GenerationMixin:
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
Whether or not to return the attentions tensors of all attention layers. See ``attentions`` under
returned tensors for more details.
returned tensors for more details.
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
output_hidden_states (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return t
r
he hidden states of all layers. See ``hidden_states`` under returned tensors
Whether or not to return the hidden states of all layers. See ``hidden_states`` under returned tensors
for more details.
for more details.
output_scores (:obj:`bool`, `optional`, defaults to `False`):
output_scores (:obj:`bool`, `optional`, defaults to `False`):
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
Whether or not to return the prediction scores. See ``scores`` under returned tensors for more details.
...
...
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