class_docstr: This is the base configuration class for PEFT adapter models. It contains all the methods that are common to all
  PEFT adapter models. This class inherits from [`~transformers.utils.PushToHubMixin`] which contains the methods to
  push your model to the Hub. The method `save_pretrained` will save the configuration of your adapter model in a
  directory. The method `from_pretrained` will load the configuration of your adapter model from a directory.
  
  Args:
      peft_type (Union[[`~peft.utils.config.PeftType`], `str`]): The type of Peft method to use.
code: def _split_kwargs(cls, kwargs):
      hf_hub_download_kwargs = {}
      class_kwargs = {}
      other_kwargs = {}
  
      for key, value in kwargs.items():
          if key in inspect.signature(hf_hub_download).parameters:
              hf_hub_download_kwargs[key] = value
          elif key in list(cls.__annotations__):
              class_kwargs[key] = value
          else:
              other_kwargs[key] = value
  
      return hf_hub_download_kwargs, class_kwargs, other_kwargs
  
imports: import inspect
  import json
  import os
  from dataclasses import asdict, dataclass, field
  from typing import Dict, Optional, Union
  from huggingface_hub import hf_hub_download
  from transformers.utils import PushToHubMixin
  from .utils import CONFIG_NAME, PeftType, TaskType
label_desc: Use image node_id 5 for calling the PeftConfigMixin obj's underlying member method code with example usage: obj._split_kwargs(cls, kwargs) and returns: hf_hub_download_kwargs,  class_kwargs,  other_kwargs