mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 00:28:10 +08:00
Update template.py
Former-commit-id: c6822a217e1c296f4aedd9a2c7610acd1dbd443e
This commit is contained in:
parent
22a79c169d
commit
b681f24f43
@ -787,7 +787,10 @@ _register_template(
|
|||||||
format_user=StringFormatter(slots=["<|im_start|>question\n{{content}}<|im_end|>\n<|im_start|>answer\n"]),
|
format_user=StringFormatter(slots=["<|im_start|>question\n{{content}}<|im_end|>\n<|im_start|>answer\n"]),
|
||||||
format_system=StringFormatter(slots=["<|im_start|>system\n{{content}}<|im_end|>\n"]),
|
format_system=StringFormatter(slots=["<|im_start|>system\n{{content}}<|im_end|>\n"]),
|
||||||
format_separator=EmptyFormatter(slots=["\n"]),
|
format_separator=EmptyFormatter(slots=["\n"]),
|
||||||
default_system="You are a helpful assistant.",
|
default_system=(
|
||||||
|
"You are an AI assistant named Sailor created by Sea AI Lab. "
|
||||||
|
"Your answer should be friendly, unbiased, faithful, informative and detailed."
|
||||||
|
),
|
||||||
stop_words=["<|im_end|>"],
|
stop_words=["<|im_end|>"],
|
||||||
replace_eos=True,
|
replace_eos=True,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user