fix template

Former-commit-id: 729053c9cea6254165ae9c8fd7809479b12f735c
This commit is contained in:
hiyouga 2023-07-18 16:37:23 +08:00
parent ec166e736a
commit 03eba6f041

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",