Skip to content

Commit

Permalink
Fix a tiny typo in `generation/utils.py::GenerateEncoderDecoderOutput…
Browse files Browse the repository at this point in the history
…`'s docstring (#29044)

Update utils.py
  • Loading branch information
sadra-barikbin authored Feb 15, 2024
1 parent b0a7f44 commit f3aa7db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/generation/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class GenerateDecoderOnlyOutput(ModelOutput):
@dataclass
class GenerateEncoderDecoderOutput(ModelOutput):
"""
Outputs of encoder-decider generation models, when using non-beam methods.
Outputs of encoder-decoder generation models, when using non-beam methods.
Args:
sequences (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
Expand Down

0 comments on commit f3aa7db

Please sign in to comment.