Former-commit-id: 9aa1a2fc172730eabc4f14bcb08c0d66fcb2d844
This commit is contained in:
hiyouga 2024-01-12 03:30:56 +08:00
parent 69d966eb1f
commit 4dc16df570

View File

@ -774,15 +774,10 @@ register_template(
register_template(
name="zephyr",
prefix=[
{"token": "<|system|>"},
"\n{{system}}",
{"token": "</s>"}
"<|system|>\n{{system}}</s>",
],
prompt=[
{"token": "<|user|>"},
"\n{{query}}",
{"token": "</s>"},
{"token": "<|assistant|>"}
"<|user|>\n{{query}}</s><|assistant|>"
],
system="You are a friendly chatbot who always responds in the style of a pirate",
sep=[]