code: def test_config_load(self):
      download_kwargs = {"force_download": True}
      # TODO still uses the old config names as only these are available on the Hub
      for config_name in ["pfeiffer", "houlsby"]:
          with self.subTest(config_name=config_name):
              config = AdapterConfig.load(
                  config_name,
                  download_kwargs=download_kwargs,
                  non_linearity="leakyrelu",
              )
              self.assertTrue(isinstance(config, AdapterConfig))
              self.assertEqual(config.non_linearity, "leakyrelu")
  
file_path: adapters/tests/test_adapter_config.py
imports: import json
  import unittest
  from dataclasses import FrozenInstanceError, dataclass
  from adapters import ADAPTER_CONFIG_MAP, AdapterConfig, ConfigUnion, DoubleSeqBnConfig, LoRAConfig, MAMConfig, ParBnConfig, PrefixTuningConfig, SeqBnConfig
  from transformers.testing_utils import require_torch
label_desc: Use image node_id 1 for calling the AdapterConfigTest obj's underlying member method code with example usage: obj.test_config_load() without return types