support Yi-Coder models

Former-commit-id: ea3f1659e70541c4fa8b7079a0a8c94fce9a41c8
This commit is contained in:
hiyouga
2024-09-05 03:12:24 +08:00
parent 26d914b8fc
commit 72222d1598
4 changed files with 16 additions and 4 deletions

View File

@@ -1633,6 +1633,18 @@ register_model_group(
DownloadSource.DEFAULT: "01-ai/Yi-1.5-34B-Chat",
DownloadSource.MODELSCOPE: "01ai/Yi-1.5-34B-Chat",
},
"Yi-Coder-1.5B": {
DownloadSource.DEFAULT: "01-ai/Yi-Coder-1.5B",
},
"Yi-Coder-9B": {
DownloadSource.DEFAULT: "01-ai/Yi-Coder-9B",
},
"Yi-Coder-1.5B-Chat": {
DownloadSource.DEFAULT: "01-ai/Yi-Coder-1.5B-Chat",
},
"Yi-Coder-9B-Chat": {
DownloadSource.DEFAULT: "01-ai/Yi-Coder-9B-Chat",
},
},
template="yi",
)