Former-commit-id: 49445a03cd46af4e7036cf444cd041dfab2d8941
This commit is contained in:
hiyouga 2024-01-12 03:30:56 +08:00
parent 6e64e02f71
commit c5f099138d

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=[]