Merge pull request #3683 from YUUUCC/patch-1

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

Former-commit-id: a384f00018a993118e13b3d33bba6e09530f13dd
This commit is contained in:
hoshi-hiyouga 2024-05-11 16:43:02 +08:00 committed by GitHub
commit 6c3efe04e1

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",