( merge_config: MergeConfig | None = None merge_at_every_checkpoint: bool = False push_to_hub: bool = False )
Parameters
experimental.merge_model_callback.MergeConfig, optional) —
Configuration used for the merging process. If not provided, the default
MergeConfig is used. bool, optional, defaults to False) —
Whether to merge the model at every checkpoint. bool, optional, defaults to False) —
Whether to push the merged model to the Hub after merging. A TrainerCallback that merges the policy model (the model being trained) with another model based on a merge configuration.