class_docstr: Base class for all adaptation methods. This class does not define specific configuration keys, but only provides
  some common helper methods.
  
  Args:
      architecture (str, optional): The type of adaptation method defined by the configuration.
class_docstr_tok: ["Base","class","for","all","adaptation","methods",".","This","class","does","not","define","specific","configuration","keys",",","but","only","provides","some","common","helper","methods",".","Args",":","architecture","(","str",",","optional",")",":","The","type","of","adaptation","method","defined","by","the","configuration","."]
docstr: Loads a given adapter configuration specifier into a full AdapterConfig instance.
  
  Args:
      config (Union[dict, str]): The configuration to load. Can be either:
  
          - a dictionary representing the full config
          - an identifier string available in ADAPTER_CONFIG_MAP
          - the path to a file containing a full adapter configuration
          - an identifier string available in Adapter-Hub
  
  Returns:
      dict: The resolved adapter configuration dictionary.
code: def load(
      cls, config: Union[dict, str], download_kwargs=None, **kwargs
  ):
      """
      Loads a given adapter configuration specifier into a full AdapterConfig instance.
  
      Args:
          config (Union[dict, str]): The configuration to load. Can be either:
  
              - a dictionary representing the full config
              - an identifier string available in ADAPTER_CONFIG_MAP
              - the path to a file containing a full adapter configuration
              - an identifier string available in Adapter-Hub
  
      Returns:
          dict: The resolved adapter configuration dictionary.
      """
      if not config:
          return None
      # if force_download is set, skip the local map
      if download_kwargs and download_kwargs.get(
          "force_download", False
      ):
          local_map = None
      else:
          local_map = ADAPTER_CONFIG_MAP
      if download_kwargs:
          config_dict = resolve_adapter_config(
              config, local_map=local_map, **download_kwargs
          )
      else:
          config_dict = resolve_adapter_config(
              config, local_map=local_map
          )
      # convert back to dict to allow attr overrides
      if isinstance(config_dict, AdapterConfig):
          cls_new = config_dict.__class__
          config_dict = config_dict.to_dict()
      else:
          cls_new = cls._get_config_class(config_dict)
      # The check for "None" is necessary because of the example script flags.
      config_dict.update(
          (k, v) for k, v in kwargs.items() if v is not None
      )
      return cls_new.from_dict(config_dict)
  
imports: import logging
  from collections.abc import Mapping
  from dataclasses import FrozenInstanceError, asdict, dataclass, field, replace
  from typing import List, Optional, Union
  from ..utils import resolve_adapter_config
label_desc: Use image node_id 12 for calling the AdapterConfig obj's underlying member method code with example usage: obj.load(cls, config, download_kwargs) and returns: cls_new, None