fix deepseek template
Former-commit-id: 1fdbcdad9a1cdb20299350efd87a8e5cb8c625a3
This commit is contained in:
@@ -635,7 +635,7 @@ register_template(
|
|||||||
"{{system}}"
|
"{{system}}"
|
||||||
],
|
],
|
||||||
prompt=[
|
prompt=[
|
||||||
"### Instruction:\n{{query}}\n### Response:\n"
|
"### Instruction:\n{{query}}\n\n### Response:\n"
|
||||||
],
|
],
|
||||||
system=(
|
system=(
|
||||||
"You are an AI programming assistant, utilizing the Deepseek Coder model, "
|
"You are an AI programming assistant, utilizing the Deepseek Coder model, "
|
||||||
@@ -646,7 +646,7 @@ register_template(
|
|||||||
sep=[
|
sep=[
|
||||||
"\n",
|
"\n",
|
||||||
{"token": "<|EOT|>"},
|
{"token": "<|EOT|>"},
|
||||||
"\n"
|
"\n\n"
|
||||||
],
|
],
|
||||||
stop_words=[
|
stop_words=[
|
||||||
"<|EOT|>"
|
"<|EOT|>"
|
||||||
|
|||||||
Reference in New Issue
Block a user