code: def __init__(self, *args, **kwargs):
      raise EnvironmentError(
          f"{self.__class__.__name__} is designed to be instantiated "
          f"using the `{self.__class__.__name__}.from_pretrained(pretrained_model_name_or_path)` or "
          f"`{self.__class__.__name__}.from_config(config)` methods."
      )
  
imports: import importlib
  from collections import OrderedDict
  from .configuration_auto import AutoConfig, model_type_to_module_name, replace_list_option_in_docstrings
  from .dynamic import get_class_from_dynamic_module
  from fastNLP.transformers.torch.configuration_utils import PretrainedConfig
  from fastNLP.transformers.torch.file_utils import copy_func
  from fastNLP.core.log import logger
label_desc: Use image node_id 1 to create a new _BaseAutoModelClass object  with example: obj = _BaseAutoModelClass()