fixing prompt template of chatml by removal of linebreak (#922)

Co-authored-by: Timothy  Lim <timothyyonglee.lim@kxrdev.com>
This commit is contained in:
Timothy Lim
2023-12-10 02:07:44 +08:00
committed by GitHub
parent 40a6362c92
commit 03c6318ba3

View File

@@ -13,7 +13,7 @@ register_conv_template(
system_message="You are a helpful assistant.",
roles=["<|im_start|>user", "<|im_start|>assistant"],
sep_style=SeparatorStyle.CHATML,
sep="<|im_end|>\n",
sep="<|im_end|>",
)
)