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
f3aa7db4
Unverified
Commit
f3aa7db4
authored
Feb 15, 2024
by
Sadra Barikbin
Committed by
GitHub
Feb 15, 2024
Browse files
Fix a tiny typo in `generation/utils.py::GenerateEncoderDecoderOutput`'s docstring (#29044)
Update utils.py
parent
b0a7f44f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/generation/utils.py
src/transformers/generation/utils.py
+1
-1
No files found.
src/transformers/generation/utils.py
View file @
f3aa7db4
...
...
@@ -135,7 +135,7 @@ class GenerateDecoderOnlyOutput(ModelOutput):
@
dataclass
class
GenerateEncoderDecoderOutput
(
ModelOutput
):
"""
Outputs of encoder-dec
i
der generation models, when using non-beam methods.
Outputs of encoder-dec
o
der generation models, when using non-beam methods.
Args:
sequences (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
...
...
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