mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
fix deepseek template
Former-commit-id: d08f5e8a147f1929567d42b6bed8bc998c2a866d
This commit is contained in:
parent
04107b7af6
commit
034b658348
@ -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|>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user