rename template to breeze

Former-commit-id: 5a780e9eec7e8c560d417c1a95afa1be0f878d32
This commit is contained in:
codingma 2024-04-07 11:39:54 +08:00
parent 80aa1f70b6
commit ed14f8bae7
2 changed files with 2 additions and 2 deletions

View File

@ -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. ",

View File

@ -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",
) )