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
class_docstr_tok: ["``","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):
      """
      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():
              raise ValueError(
                  f"'{key}' is already used by a Transformers model."
              )
  
      self._extra_content[key] = value
  
imports: import importlib
  from collections import OrderedDict
  from ...configuration_utils import PretrainedConfig
  from ...dynamic_module_utils import get_class_from_dynamic_module
  from ...utils import copy_func, logging
  from .configuration_auto import AutoConfig, model_type_to_module_name, replace_list_option_in_docstrings
label_desc: Use image node_id 11 for calling the _LazyAutoMapping obj's underlying member method code with example usage: obj.register(key, value) without return types