mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-22 05:58:39 +06:00
fixed typo for docstring in prepare_inputs method (#39071)
This commit is contained in:
parent
839893c86b
commit
993665a5ff
@ -558,7 +558,7 @@ class GenerationMixin(ContinuousMixin):
|
|||||||
**kwargs,
|
**kwargs,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Prepare the model inputs for generation. In includes operations like computing the 4D attention mask or
|
Prepare the model inputs for generation. It includes operations like computing the 4D attention mask or
|
||||||
slicing inputs given the existing cache.
|
slicing inputs given the existing cache.
|
||||||
|
|
||||||
See the forward pass in the model documentation for expected arguments (different models might have different
|
See the forward pass in the model documentation for expected arguments (different models might have different
|
||||||
|
Loading…
Reference in New Issue
Block a user