From d41069f976da4921c98e3417bb5a4119747ddfeb Mon Sep 17 00:00:00 2001 From: amyeroberts <22614925+amyeroberts@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:09:14 +0000 Subject: [PATCH] Update src/transformers/pipelines/base.py Co-authored-by: Pedro Cuenca --- src/transformers/pipelines/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/pipelines/base.py b/src/transformers/pipelines/base.py index cde0faf2b0acca..b58cfd45ef3806 100644 --- a/src/transformers/pipelines/base.py +++ b/src/transformers/pipelines/base.py @@ -743,7 +743,7 @@ def build_pipeline_init_args( if has_tokenizer: docstring += r""" tokenizer ([`PreTrainedTokenizer`]): - The tokenizer that will be used by the pipeline to encode data for the model. This object inherits from + The tokenizer that will be used by the pipeline to encode or decode text data. This object inherits from [`PreTrainedTokenizer`].""" if has_feature_extractor: docstring += r"""