fix aquila template, repair sft packing mechanism

Former-commit-id: be420e4179
This commit is contained in:
hiyouga
2023-10-10 18:49:55 +08:00
parent 7082526df5
commit 141937ead6
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
)