Merge pull request #563 from huolongguo1O/patch-1

解决finetune.py在加载配置文件时的错误
This commit is contained in:
Yuxuan.Zhang 2024-10-16 17:36:19 +08:00 committed by GitHub
commit 4e9b473d18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ class FinetuningConfig(object):
max_input_length: int
max_output_length: int
combine: bool
freezeV: bool
training_args: Seq2SeqTrainingArguments = dc.field(
default_factory=lambda: Seq2SeqTrainingArguments(output_dir='./output')