code: def __init__(
      self,
      max_seq_len=512,
      entities_labels=None,
      infer_mode=False,
      **kwargs,
  ):
      self.max_seq_len = max_seq_len
      self.entities_labels = (
          {"HEADER": 0, "QUESTION": 1, "ANSWER": 2}
          if entities_labels is None
          else entities_labels
      )
      self.infer_mode = infer_mode
  
file_path: PaddleOCR/ppocr/data/imaug/vqa/token/vqa_token_chunk.py
imports: from collections import defaultdict
label_desc: Use image node_id 1 to create a new VQAReTokenChunk object from inherited base classes: object with example: obj = VQAReTokenChunk(max_seq_len, entities_labels, infer_mode)