class_docstr: A generic Text processor: rename this as `withTokenizer`.
  tokenize a string of text on-the-fly.
  Warning: mostly used for end tasks.
      (on-the-fly tokenization is slow for how2.)
  TODO(huxu): move this class as a subclass.
class_docstr_tok: ["A","generic","Text","processor",":","rename","this","as","`","withTokenizer","`",".","tokenize","a","string","of","text","on-the-fly",".","Warning",":","mostly","used","for","end","tasks",".","(","on-the-fly","tokenization","is","slow","for","how2",".",")","TODO","(","huxu",")",":","move","this","class","as","a","subclass","."]
code: def __init__(self, config):
      self.bert_name = str(config.bert_name)
      self.use_fast = config.use_fast
      from transformers import AutoTokenizer
  
      self.tokenizer = AutoTokenizer.from_pretrained(
          self.bert_name, use_fast=self.use_fast
      )
  
imports: import numpy
  import os
  import torch
label_desc: Use image node_id 1 to create a new TextProcessor object from inherited base classes: Processor with example: obj = TextProcessor(config)