fix template

This commit is contained in:
hiyouga 2023-07-18 16:37:23 +08:00
parent cadeac0f44
commit d1ae428c6e
1 changed files with 1 additions and 0 deletions

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