fixed typo (#37036)
This commit is contained in:
@@ -1232,7 +1232,7 @@ class GenerationMixin:
|
|||||||
) -> torch.Tensor:
|
) -> torch.Tensor:
|
||||||
"""
|
"""
|
||||||
Computes the transition scores of sequences given the generation scores (and beam indices, if beam search was
|
Computes the transition scores of sequences given the generation scores (and beam indices, if beam search was
|
||||||
used). This is a convenient method to quicky obtain the scores of the selected tokens at generation time.
|
used). This is a convenient method to quickly obtain the scores of the selected tokens at generation time.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
sequences (`torch.LongTensor`):
|
sequences (`torch.LongTensor`):
|
||||||
|
|||||||
Reference in New Issue
Block a user