mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-12-27 17:20:35 +08:00
[misc] fix cache & pin transformers to 4.57.1 (#9638)
This commit is contained in:
@@ -1166,7 +1166,7 @@ register_template(
|
||||
|
||||
|
||||
register_template(
|
||||
name="gpt",
|
||||
name="gpt_oss",
|
||||
format_user=StringFormatter(slots=["<|start|>user<|message|>{{content}}<|end|><|start|>assistant"]),
|
||||
format_assistant=StringFormatter(slots=["{{content}}<|end|>"]),
|
||||
format_system=StringFormatter(slots=["<|start|>system<|message|>{{content}}<|end|>"]),
|
||||
|
||||
Reference in New Issue
Block a user