fix template

Former-commit-id: d1ae428c6e
This commit is contained in:
hiyouga
2023-07-18 16:37:23 +08:00
parent 77c4bb2985
commit 4a18759864

View File

@@ -213,6 +213,7 @@ Supports: https://huggingface.co/HuggingFaceH4/starchat-alpha
https://huggingface.co/HuggingFaceH4/starchat-beta
"""
register_template(
name="starchat",
prefix="<|system|>\n",
prompt="<|user|>\n{query}<|end|>\n<|assistant|>\n",
sep="<|end|>\n",