feat: add support for adammini

Former-commit-id: a2d5fafb705ff44db1711e972490f0abebc2012b
This commit is contained in:
moontidef
2024-08-07 10:08:22 +08:00
parent 33a90b9026
commit 8f42d7df56
2 changed files with 33 additions and 0 deletions

View File

@@ -342,6 +342,10 @@ class FinetuningArguments(FreezeArguments, LoraArguments, RLHFArguments, GaloreA
default=False,
metadata={"help": "Whether or not to save the training loss curves."},
)
use_adammini: bool = field(
default=False,
metadata={"help": "Whether or not to use AdamMini optimizer."},
)
def __post_init__(self):
def split_arg(arg):