code: def getattribute_from_module(module, attr):
      if attr is None:
          return None
      if isinstance(attr, tuple):
          return tuple(
              getattribute_from_module(module, a) for a in attr
          )
      if hasattr(module, attr):
          return getattr(module, attr)
      # Some of the mappings have entries model_type -> object of another model type. In that case we try to grab the
      # object at the top level.
      transformers_module = importlib.import_module("transformers")
      return getattribute_from_module(transformers_module, attr)
  
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 5 for calling a global function with example usage: getattribute_from_module(module, attr) and returns: getattribute_from_module, None, tuple, getattr