mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 12:42:51 +08:00
parent
91b7fd1ec3
commit
d296e56fe9
@ -339,7 +339,9 @@ register_template(
|
|||||||
slots=[{"token": "[gMASK]"}, {"token": "sop"}, {"token": "<|system|>"}, "\n", "{{content}}"]
|
slots=[{"token": "[gMASK]"}, {"token": "sop"}, {"token": "<|system|>"}, "\n", "{{content}}"]
|
||||||
),
|
),
|
||||||
format_function=FunctionFormatter(slots=["{{name}}\n{{arguments}}"]),
|
format_function=FunctionFormatter(slots=["{{name}}\n{{arguments}}"]),
|
||||||
format_observation=StringFormatter(slots=[{"token": "<|observation|>"}, "\n", "{{content}}"]),
|
format_observation=StringFormatter(
|
||||||
|
slots=[{"token": "<|observation|>"}, "\n", "{{content}}", {"token": "<|assistant|>"}]
|
||||||
|
),
|
||||||
default_system=(
|
default_system=(
|
||||||
"You are ChatGLM3, a large language model trained by Zhipu.AI. "
|
"You are ChatGLM3, a large language model trained by Zhipu.AI. "
|
||||||
"Follow the user's instructions carefully. Respond using markdown."
|
"Follow the user's instructions carefully. Respond using markdown."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user