Merge pull request #3683 from YUUUCC/patch-1

Update constants.py to fix the download issue of the Phi-3 model

Former-commit-id: ec8b280389ee11ee2f1021a181cb165b9899ace0
This commit is contained in:
hoshi-hiyouga 2024-05-11 16:43:02 +08:00 committed by GitHub
commit 2c3208d853

View File

@ -715,11 +715,11 @@ register_model_group(
models={ models={
"Phi3-3.8B-4k-Chat": { "Phi3-3.8B-4k-Chat": {
DownloadSource.DEFAULT: "microsoft/Phi-3-mini-4k-instruct", DownloadSource.DEFAULT: "microsoft/Phi-3-mini-4k-instruct",
DownloadSource.DEFAULT: "LLM-Research/Phi-3-mini-4k-instruct", DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-mini-4k-instruct",
}, },
"Phi3-3.8B-128k-Chat": { "Phi3-3.8B-128k-Chat": {
DownloadSource.DEFAULT: "microsoft/Phi-3-mini-128k-instruct", DownloadSource.DEFAULT: "microsoft/Phi-3-mini-128k-instruct",
DownloadSource.DEFAULT: "LLM-Research/Phi-3-mini-128k-instruct", DownloadSource.MODELSCOPE: "LLM-Research/Phi-3-mini-128k-instruct",
}, },
}, },
module="qkv_proj", module="qkv_proj",