class_docstr: " A mapping config to object (model or tokenizer for instance) that will load keys and values when it is accessed.
  
  Args:
      - config_mapping: The map model type to config class
      - model_mapping: The map model type to model (or tokenizer) class
docstr: Register a new model in this mapping.
docstr_tok: ["Register","a","new","model","in","this","mapping","."]
code: def register(self, key, value, exist_ok=False):
      """
      Register a new model in this mapping.
      """
      if (
          hasattr(key, "__name__")
          and key.__name__ in self._reverse_config_mapping
      ):
          model_type = self._reverse_config_mapping[key.__name__]
          if model_type in self._model_mapping.keys() and not exist_ok:
              raise ValueError(
                  f"'{key}' is already used by a Transformers model."
              )
  
      self._extra_content[key] = value
  
imports: import copy
  import importlib
  import json
  import os
  import warnings
  from collections import OrderedDict
  from ...configuration_utils import PretrainedConfig
  from ...dynamic_module_utils import get_class_from_dynamic_module, resolve_trust_remote_code
  from ...utils import CONFIG_NAME, cached_file, copy_func, extract_commit_hash, find_adapter_config_file, is_peft_available, logging, requires_backends
  from .configuration_auto import AutoConfig, model_type_to_module_name, replace_list_option_in_docstrings
label_desc: Use image node_id 12 for calling the _LazyAutoMapping obj's underlying member method code with example usage: obj.register(key, value, exist_ok) without return types