code: def __init__(
      self,
      vocab_file: str,
      do_lower_case: bool = False,
      max_seq_length: int = 512,
      tokenize_chinese_chars: bool = True,
      **kwargs,
  ):
      vocab_file = expand_path(vocab_file)
      self.tokenizer = BertTokenizer(
          vocab_file=vocab_file,
          do_lower_case=do_lower_case,
          tokenize_chinese_chars=tokenize_chinese_chars,
      )
      self.max_seq_length = max_seq_length
  
file_path: DeepPavlov/deeppavlov/models/preprocessors/transformers_preprocessor.py
imports: from logging import getLogger
  from typing import List, Union, Tuple
  import numpy
  from transformers import BertTokenizer
  from deeppavlov.core.commands.utils import expand_path
  from deeppavlov.core.common.registry import register
  from deeppavlov.core.models.component import Component
label_desc: Use image node_id 1 to create a new TransformersBertPreprocessor object from inherited base classes: Component with example: obj = TransformersBertPreprocessor(vocab_file, do_lower_case, max_seq_length, tokenize_chinese_chars)