code: def __init__(
      self,
      model_type: str = "BERT",
      model_name: str = "dslim/bert-base-NER",
      load_path: str = "",
      use_auth_token: Union[bool, str] = None,
      trust_remote_code: bool = False,
  ):
      self.adaptor = get_adaptor(model_type)
      model_class = AutoModelForTokenClassification
  
      super().__init__(
          model_type,
          model_name,
          model_class,
          use_auth_token=use_auth_token,
          load_path=load_path,
          trust_remote_code=trust_remote_code,
      )
  
      self._type = "tok"
  
      self._pipeline_class = TokenClassificationPipeline
  
file_path: happy-transformer/happytransformer/happy_token_classification.py
imports: from dataclasses import dataclass
  from typing import List, Union
  from transformers import AutoModelForTokenClassification, TokenClassificationPipeline
  from happytransformer.adaptors import get_adaptor
  from happytransformer.happy_transformer import HappyTransformer
label_desc: Use image node_id 1 to create a new HappyTokenClassification object from inherited base classes: HappyTransformer with example: obj = HappyTokenClassification(model_type, model_name, load_path, use_auth_token, trust_remote_code)