support phi-3

Former-commit-id: 7e8ffa9beee3893e051ceeade443bd56c4a07b1c
This commit is contained in:
hiyouga
2024-04-24 00:28:53 +08:00
parent 8412cd3091
commit 86ced5898e
4 changed files with 29 additions and 4 deletions

View File

@@ -652,6 +652,20 @@ register_model_group(
)
register_model_group(
models={
"Phi3-3.8B-4k-Chat": {
DownloadSource.DEFAULT: "microsoft/Phi-3-mini-4k-instruct",
},
"Phi3-3.8B-128k-Chat": {
DownloadSource.DEFAULT: "microsoft/Phi-3-mini-128k-instruct",
},
},
module="qkv_proj",
template="phi",
)
register_model_group(
models={
"Qwen-1.8B": {