code: def __init__(self, tokenizer):
      self.tokenizer = tokenizer
  
imports: import abc
  from typing import List, Union
  import torch
label_desc: Use image node_id 1 to create a new BaseGenerationStopCriterion object from inherited base classes: abc with example: obj = BaseGenerationStopCriterion(tokenizer)