src/transformers/generation/beam_constraints.py/PhrasalConstraint/advance
class PhrasalConstraint:    def advance(self):
        if self.completed:
            return None
        return self.token_ids[self.fulfilled_idx + 1]