update baichuan template

Former-commit-id: bdf91846da12c9d0aee26bf17f5431e4c0eb4bc8
This commit is contained in:
hiyouga 2023-07-18 16:43:51 +08:00
parent 4a18759864
commit 35d52c4100

View File

@ -202,7 +202,7 @@ Supports: https://huggingface.co/baichuan-inc/Baichuan-13B-Chat
register_template(
name="baichuan",
prefix="",
prompt="<reserved_102>{query}<reserved_103>",
prompt=" <reserved_102> {query} <reserved_103> ",
sep="</s>",
use_history=True
)