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