"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "009101de12d5cb26e8cc0f1f6af9216b11c6a50f"
Unverified Commit f3aa7db4 authored by Sadra Barikbin's avatar Sadra Barikbin Committed by GitHub
Browse files

Fix a tiny typo in `generation/utils.py::GenerateEncoderDecoderOutput`'s docstring (#29044)

Update utils.py
parent b0a7f44f
...@@ -135,7 +135,7 @@ class GenerateDecoderOnlyOutput(ModelOutput): ...@@ -135,7 +135,7 @@ class GenerateDecoderOnlyOutput(ModelOutput):
@dataclass @dataclass
class GenerateEncoderDecoderOutput(ModelOutput): 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: Args:
sequences (`torch.LongTensor` of shape `(batch_size, sequence_length)`): sequences (`torch.LongTensor` of shape `(batch_size, sequence_length)`):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment