mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-03-13 23:46:00 +08:00
[data] correct gpt_oss template format_assistant (#10269)
This commit is contained in:
@@ -1113,7 +1113,7 @@ register_template(
|
|||||||
register_template(
|
register_template(
|
||||||
name="gpt_oss",
|
name="gpt_oss",
|
||||||
format_user=StringFormatter(slots=["<|start|>user<|message|>{{content}}<|end|><|start|>assistant"]),
|
format_user=StringFormatter(slots=["<|start|>user<|message|>{{content}}<|end|><|start|>assistant"]),
|
||||||
format_assistant=StringFormatter(slots=["{{content}}<|end|>"]),
|
format_assistant=StringFormatter(slots=["{{content}}"]),
|
||||||
format_system=StringFormatter(slots=["<|start|>system<|message|>{{content}}<|end|>"]),
|
format_system=StringFormatter(slots=["<|start|>system<|message|>{{content}}<|end|>"]),
|
||||||
default_system="You are ChatGPT, a large language model trained by OpenAI.",
|
default_system="You are ChatGPT, a large language model trained by OpenAI.",
|
||||||
thought_words=("<|channel|>analysis<|message|>", "<|end|><|start|>assistant<|channel|>final<|message|>"),
|
thought_words=("<|channel|>analysis<|message|>", "<|end|><|start|>assistant<|channel|>final<|message|>"),
|
||||||
|
|||||||
Reference in New Issue
Block a user