Make output_dir
optional in TrainingArguments
#27866
Labels
Feature request
Request for a new feature
output_dir
optional in TrainingArguments
#27866
Feature request
Currently, there is only 1 required param in creating a TrainingArguments object -
output_dir
. HFTrainer manually creates an object with a default value "tmp_trainer" if no Args object is passed to it.Instead, we should make even this one param optional in the TrainingArguments class (and use a default inside the class implementation).
Motivation
This is useful when creating and passing TrainingArguments in other runners - for eg, trl/SFTTrainer. I would like sensible defaults for all params, so that I only specify the particular arguments I am interested in.
Your contribution
I can open a PR, if this is of interest.
The text was updated successfully, but these errors were encountered: