add belle template

This commit is contained in:
hiyouga
2023-06-07 12:30:11 +08:00
parent ce43386080
commit 17acf3a3eb
2 changed files with 24 additions and 6 deletions

View File

@@ -141,9 +141,9 @@ class DataTrainingArguments:
default=0,
metadata={"help": "Proportion of the dataset to include in the development set, should be between 0.0 and 1.0."}
)
prompt_template: Optional[Literal["alpaca", "vicuna", "ziya"]] = field(
prompt_template: Optional[str] = field(
default="alpaca",
metadata={"help": "Which template to use for constructing prompts in training."}
metadata={"help": "Which template to use for constructing prompts in training and inference."}
)
def __post_init__(self): # support mixing multiple datasets