Skip to content

Commit

Permalink
Update src/transformers/pipelines/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pedro Cuenca <[email protected]>
  • Loading branch information
amyeroberts and pcuenca authored Jan 18, 2024
1 parent 29dd880 commit d41069f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/pipelines/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down

0 comments on commit d41069f

Please sign in to comment.