forked from p04798526/LLaMA-Factory-Mirror
Update template.py
This commit is contained in:
parent
dddfd516ee
commit
1240bd57d8
|
@ -664,6 +664,7 @@ _register_template(
|
|||
format_system=StringFormatter(slots=["<|system|>\n{{content}}"]),
|
||||
format_function=FunctionFormatter(slots=["{{name}}\n{{arguments}}"]),
|
||||
format_observation=StringFormatter(slots=["<|observation|>\n{{content}}<|assistant|>"]),
|
||||
format_tools=ToolFormatter(tool_format="glm4"),
|
||||
format_prefix=EmptyFormatter(slots=["[gMASK]<sop>"]),
|
||||
stop_words=["<|user|>", "<|observation|>"],
|
||||
efficient_eos=True,
|
||||
|
|
Loading…
Reference in New Issue