fix template

Former-commit-id: d1ae428c6ec2a50e0cfc70657111fc5b67eff51e
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 https://huggingface.co/HuggingFaceH4/starchat-beta
""" """
register_template( register_template(
name="starchat",
prefix="<|system|>\n", prefix="<|system|>\n",
prompt="<|user|>\n{query}<|end|>\n<|assistant|>\n", prompt="<|user|>\n{query}<|end|>\n<|assistant|>\n",
sep="<|end|>\n", sep="<|end|>\n",