add models

Former-commit-id: e25f7bae16b7ea41a4a1fd1e8db1b961e55d0c5b
This commit is contained in:
hiyouga 2023-12-06 13:33:18 +08:00
parent 027caabbb6
commit 9b84a706af
2 changed files with 11 additions and 0 deletions

View File

@ -724,6 +724,9 @@ register_template(
sep=[ sep=[
"<|im_end|>\n" "<|im_end|>\n"
], ],
stop_words=[
"<|im_end|>"
],
efficient_eos=True efficient_eos=True
) )

View File

@ -578,10 +578,18 @@ register_model_group(
DownloadSource.DEFAULT: "01-ai/Yi-34B", DownloadSource.DEFAULT: "01-ai/Yi-34B",
DownloadSource.MODELSCOPE: "01ai/Yi-34B" DownloadSource.MODELSCOPE: "01ai/Yi-34B"
}, },
"Yi-6B-Chat": {
DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat",
DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat"
},
"Yi-34B-Chat": { "Yi-34B-Chat": {
DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat", DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat",
DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat" DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat"
}, },
"Yi-6B-int8-Chat": {
DownloadSource.DEFAULT: "01-ai/Yi-6B-Chat-8bits",
DownloadSource.MODELSCOPE: "01ai/Yi-6B-Chat-8bits"
},
"Yi-34B-int8-Chat": { "Yi-34B-int8-Chat": {
DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat-8bits", DownloadSource.DEFAULT: "01-ai/Yi-34B-Chat-8bits",
DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat-8bits" DownloadSource.MODELSCOPE: "01ai/Yi-34B-Chat-8bits"