From 993665a5ffc9bb985c2adb1a51b94d8bad9b040a Mon Sep 17 00:00:00 2001 From: JINO ROHIT Date: Fri, 27 Jun 2025 16:57:56 +0300 Subject: [PATCH] fixed typo for docstring in prepare_inputs method (#39071) --- src/transformers/generation/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/generation/utils.py b/src/transformers/generation/utils.py index e1dc9cf1248..bb15454c7f5 100644 --- a/src/transformers/generation/utils.py +++ b/src/transformers/generation/utils.py @@ -558,7 +558,7 @@ class GenerationMixin(ContinuousMixin): **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. See the forward pass in the model documentation for expected arguments (different models might have different