mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-04 20:52:59 +08:00
rename template to breeze
Former-commit-id: 5a780e9eec7e8c560d417c1a95afa1be0f878d32
This commit is contained in:
parent
80aa1f70b6
commit
ed14f8bae7
@ -775,7 +775,7 @@ _register_template(
|
|||||||
)
|
)
|
||||||
|
|
||||||
_register_template(
|
_register_template(
|
||||||
name="mediatek",
|
name="breeze",
|
||||||
format_user=StringFormatter(slots=["[INST] {{content}} [/INST] "]),
|
format_user=StringFormatter(slots=["[INST] {{content}} [/INST] "]),
|
||||||
format_system=StringFormatter(slots=[{"bos_token"}, "{{content}}"]),
|
format_system=StringFormatter(slots=[{"bos_token"}, "{{content}}"]),
|
||||||
default_system="You are a helpful AI assistant built by MediaTek Research. The user you are helping speaks Traditional Chinese and comes from Taiwan. ",
|
default_system="You are a helpful AI assistant built by MediaTek Research. The user you are helping speaks Traditional Chinese and comes from Taiwan. ",
|
||||||
|
@ -981,5 +981,5 @@ register_model_group(
|
|||||||
DownloadSource.MODELSCOPE: "MediaTek-Research/Breeze-7B-Instruct-v1_0",
|
DownloadSource.MODELSCOPE: "MediaTek-Research/Breeze-7B-Instruct-v1_0",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
template="mediatek",
|
template="breeze",
|
||||||
)
|
)
|
Loading…
x
Reference in New Issue
Block a user