docstr: Updates the `model_kwargs` dictionaries with the keyword
  arguments passed to the `update_config` function.
docstr_tok: ["Updates","the","`","model_kwargs","`","dictionaries","with","the","keyword","arguments","passed","to","the","`","update_config","`","function","."]
code: def update_config(
      self,
      **kwargs,
  ):
      """
      Updates the `model_kwargs` dictionaries with the keyword
      arguments passed to the `update_config` function.
      """
      self.trainer_kwargs.update(kwargs)
      self.trainer_kwargs = filter_allowed_args(
          self.init_training_args, **self.trainer_kwargs
      )
  
      keys = []
      for key, value in self.trainer_kwargs.items():
          if value is None:
              keys.append(key)
      for key in keys:
          del self.trainer_kwargs[key]
  
      if "model" in self.trainer_kwargs:
          self._model = self.trainer_kwargs["model"]
  
imports: import logging
  import os
  import time
  from typing import List, Optional, Union
  import numpy
  from argilla._constants import OPENAI_END_TOKEN, OPENAI_LEGACY_MODELS, OPENAI_SEPARATOR, OPENAI_WHITESPACE
  from argilla.client.models import TextClassificationRecord, TokenClassificationRecord
  from argilla.datasets import TextClassificationSettings, TokenClassificationSettings
  from argilla.training.base import ArgillaTrainerSkeleton
  from argilla.training.utils import filter_allowed_args
  from argilla.utils.dependency import require_dependencies
label_desc: Use image node_id 4 for calling the ArgillaOpenAITrainer obj's underlying member method code with example usage: obj.update_config() without return types