rename template to breeze

Former-commit-id: 1d894e7cfb73b8a29dababb554d051bd50e4f01d
This commit is contained in:
codingma 2024-04-07 11:39:54 +08:00
parent 9e4fda326d
commit 75866aa020
2 changed files with 2 additions and 2 deletions

View File

@ -775,7 +775,7 @@ _register_template(
)
_register_template(
name="mediatek",
name="breeze",
format_user=StringFormatter(slots=["[INST] {{content}} [/INST] "]),
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. ",

View File

@ -981,5 +981,5 @@ register_model_group(
DownloadSource.MODELSCOPE: "MediaTek-Research/Breeze-7B-Instruct-v1_0",
}
},
template="mediatek",
template="breeze",
)