src/transformers/generation/tf_logits_process.py/TFForcedEOSTokenLogitsProcessor/__init__
class TFForcedEOSTokenLogitsProcessor:    def __init__(self, max_length: int, eos_token_id: int):
        self.max_length = max_length
        if eos_token_id < 0:
            raise ValueError(f"The forced eos token id must be a non-negative integer, got {eos_token_id}")
        self.eos_token_id = eos_token_id