Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo in argument.py #142

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions component/argument.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class CustomizedArguments:
max_seq_length: int = field(metadata={"help": "输入最大长度"})
train_file: str = field(metadata={"help": "训练集"})
model_name_or_path: str = field(metadata={"help": "预训练权重路径"})
eval_file: Optional[str] = field(default="", metadata={"help": "the file of training data"})
eval_file: Optional[str] = field(default="", metadata={"help": "the evaluate data file"})


@dataclass
Expand All @@ -22,7 +22,7 @@ class QLoRAArguments:
train_file: str = field(metadata={"help": "训练集"})
model_name_or_path: str = field(metadata={"help": "预训练权重路径"})
task_type: str = field(default="", metadata={"help": "预训练任务:[sft, pretrain]"})
eval_file: Optional[str] = field(default="", metadata={"help": "the file of training data"})
eval_file: Optional[str] = field(default="", metadata={"help": "the evaluate data file"})
lora_rank: Optional[int] = field(default=64, metadata={"help": "lora rank"})
lora_alpha: Optional[int] = field(default=16, metadata={"help": "lora alpha"})
lora_dropout: Optional[float] = field(default=0.05, metadata={"help": "lora dropout"})
Expand Down