def update_config(
        self,
        **kwargs,
    ) -> None:
        """
        Updates the `model_kwargs` and `trainer_kwargs` dictionaries with the keyword
        arguments passed to the `update_config` function.
        """
        self.model_kwargs.update((k, v) for k, v in kwargs.items() if k in self.model_kwargs)
        self.trainer_kwargs.update((k, v) for k, v in kwargs.items() if k in self.trainer_kwargs)

        Updates the `model_kwargs` and `trainer_kwargs` dictionaries with the keyword
        arguments passed to the `update_config` function.
        
argilla-v1/src/argilla_v1/training/setfit.py