mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-10-16 08:38:09 +08:00
rename template to breeze
Former-commit-id: 1d894e7cfb73b8a29dababb554d051bd50e4f01d
This commit is contained in:
parent
9e4fda326d
commit
75866aa020
@ -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