fixed typo (#37036)

This commit is contained in:
Finn-Ole Höner
2025-03-27 16:37:53 +01:00
committed by GitHub
parent 6cc9c8d7d1
commit d6b3c7486b

View File

@@ -1232,7 +1232,7 @@ class GenerationMixin:
) -> torch.Tensor:
"""
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:
sequences (`torch.LongTensor`):