refactor export, fix #1190

This commit is contained in:
hiyouga
2023-10-15 16:01:48 +08:00
parent 273745f9b9
commit ea82f8a82a
9 changed files with 52 additions and 49 deletions

View File

@@ -8,6 +8,10 @@ class FinetuningArguments:
r"""
Arguments pertaining to which techniques we are going to fine-tuning with.
"""
stage: Optional[Literal["pt", "sft", "rm", "ppo", "dpo"]] = field(
default="sft",
metadata={"help": "Which stage will be performed in training."}
)
finetuning_type: Optional[Literal["lora", "freeze", "full", "none"]] = field(
default="lora",
metadata={"help": "Which fine-tuning method to use."}