src/transformers/generation_stopping_criteria.py/MaxNewTokensCriteria/__init__
class MaxNewTokensCriteria:    def __init__(self, start_length: int, max_new_tokens: int):
        self.start_length = start_length
        self.max_new_tokens = max_new_tokens
        self.max_length = start_length + max_new_tokens