docstr: Updates the configuration of the trainer, but the parameters depend on the trainer.subclass.
docstr_tok: ["Updates","the","configuration","of","the","trainer",",","but","the","parameters","depend","on","the","trainer.subclass","."]
code: def update_config(self, **kwargs) -> None:
      """
      Updates the configuration of the trainer, but the parameters depend on the trainer.subclass.
      """
      from transformers import TrainingArguments
  
      self.training_args_kwargs.update(
          filter_allowed_args(TrainingArguments.__init__, **kwargs)
      )
      self.training_args_kwargs.update(
          filter_allowed_args(PPOArgs.__init__, **kwargs)
      )
      self.trainer_kwargs.update(
          filter_allowed_args(self.trainer_cls.__init__, **kwargs)
      )
  
file_path: argilla/src/argilla/client/feedback/training/frameworks/trl.py
imports: import logging
  from typing import TYPE_CHECKING, Dict, List, Optional, Union
  from argilla.client.feedback.training.base import ArgillaTrainerSkeleton
  from argilla.client.feedback.training.schemas.base import TrainingTaskForDPO, TrainingTaskForPPO, TrainingTaskForRM, TrainingTaskForSFT
  from argilla.training.utils import filter_allowed_args
  from argilla.utils.dependency import require_dependencies, requires_dependencies
label_desc: Use image node_id 4 for calling the ArgillaTRLTrainer obj's underlying member method code with example usage: obj.update_config() without return types