mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
parent
69d966eb1f
commit
4dc16df570
@ -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=[]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user