support mixtral

Former-commit-id: 96380f5e18
This commit is contained in:
hiyouga
2023-12-12 11:39:04 +08:00
parent e3e86340ec
commit b7d99ad5f4
6 changed files with 52 additions and 39 deletions

View File

@@ -382,6 +382,22 @@ register_model_group(
"Mistral-7B-Chat": {
DownloadSource.DEFAULT: "mistralai/Mistral-7B-Instruct-v0.1",
DownloadSource.MODELSCOPE: "AI-ModelScope/Mistral-7B-Instruct-v0.1"
},
"Mistral-7B-v0.2-Chat": {
DownloadSource.DEFAULT: "mistralai/Mistral-7B-Instruct-v0.2"
}
},
template="mistral"
)
register_model_group(
models={
"Mixtral-8x7B": {
DownloadSource.DEFAULT: "mistralai/Mixtral-8x7B-v0.1"
},
"Mixtral-8x7B-Chat": {
DownloadSource.DEFAULT: "mistralai/Mixtral-8x7B-Instruct-v0.1"
}
},
template="mistral"