fix aquila template, repair sft packing mechanism

This commit is contained in:
hiyouga
2023-10-10 18:49:55 +08:00
parent e1dcb8e4dc
commit be420e4179
2 changed files with 18 additions and 7 deletions

View File

@@ -423,7 +423,7 @@ register_template(
r"""
Supports: https://huggingface.co/qhduan/aquilachat-7b
Supports: https://huggingface.co/BAAI/AquilaChat-7B
"""
register_template(
name="aquila",
@@ -439,7 +439,11 @@ register_template(
),
sep=[
"###"
]
],
stop_words=[
"</s>"
],
efficient_eos=True
)