Skip to content

Commit f5be874

Browse files
authored
Merge branch 'main' into fix/lora-config
2 parents de6baa7 + f41eb2c commit f5be874

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tuning/config/configs.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,13 @@ class TrainingArguments(transformers.TrainingArguments):
251251
Other possible values are 'debug', 'info', 'warning', 'error' and 'critical'"
252252
},
253253
)
254+
optim: str = field(
255+
default="adamw_torch",
256+
metadata={
257+
"help": "Pass optimizer name to use during training. \
258+
Please only use the optimizers that are supported with HF transformers"
259+
},
260+
)
254261
enable_reduce_loss_sum: bool = field(
255262
default=False,
256263
metadata={

0 commit comments

Comments
 (0)