src/transformers/tokenization_utils_base.py/PreTrainedTokenizerBase/_eventually_correct_t5_max_length
class PreTrainedTokenizerBase:    def _eventually_correct_t5_max_length(pretrained_model_name_or_path, max_model_length, init_max_model_length):
        # This method should be deleted in Transformers v5
        # Its only purpose is to potentially throw a warning
        # that incorrectly defined max lengths of T5's tokenizer are used
        # which we will correct in Transformers v5.
        return max_model_length