src/transformers/pipelines/text2text_generation.py/Text2TextGenerationPipeline/preprocess
class Text2TextGenerationPipeline:    def preprocess(self, inputs, truncation=TruncationStrategy.DO_NOT_TRUNCATE, **kwargs):
        inputs = self._parse_and_tokenize(inputs, truncation=truncation, **kwargs)
        return inputs