docstr: Updates the `model_kwargs` and `trainer_kwargs` dictionaries with the keyword
  arguments passed to the `update_config` function.
docstr_tok: ["Updates","the","`","model_kwargs","`","and","`","trainer_kwargs","`","dictionaries","with","the","keyword","arguments","passed","to","the","`","update_config","`","function","."]
code: 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
      )
  
file_path: argilla/src/argilla/training/setfit.py
imports: import json
  import logging
  from typing import List, Union
  from argilla.client.models import TextClassificationRecord
  from argilla.training.transformers import ArgillaTransformersTrainer
  from argilla.training.utils import get_default_args
  from argilla.utils.dependency import require_dependencies
label_desc: Use image node_id 3 for calling the ArgillaSetFitTrainer obj's underlying member method code with example usage: obj.update_config() without return types