From a2d6fbc76a2cc47d2f9cb00d4af479dd6936195e Mon Sep 17 00:00:00 2001 From: Ace-To-HYB Date: Fri, 19 Sep 2025 12:01:15 +0800 Subject: [PATCH 1/2] add qwen3 download source --- paddleformers/transformers/download_utils.py | 24 ++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/paddleformers/transformers/download_utils.py b/paddleformers/transformers/download_utils.py index 7b466c2ab00..5a256411600 100644 --- a/paddleformers/transformers/download_utils.py +++ b/paddleformers/transformers/download_utils.py @@ -359,6 +359,16 @@ DownloadSource.AISTUDIO: "ModelHub/Qwen3-32B", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-32B", }, + "Qwen3-4B-Instruct-2507": { + DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Instruct-2507", + DownloadSource.AISTUDIO: "ModelHub/Qwen3-4B-Instruct-2507", + DownloadSource.HUGGINGFACE: "Qwen/Qwen3-4B-Instruct-2507", + }, + "Qwen3-4B-Thinking-2507": { + DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Thinking-2507", + DownloadSource.AISTUDIO: "ModelHub/Qwen3-4B-Thinking-2507", + DownloadSource.HUGGINGFACE: "Qwen/Qwen3-4B-Thinking-2507", + }, "Qwen3-0.6B-FP8": { DownloadSource.MODELSCOPE: "Qwen/Qwen3-0.6B-FP8", DownloadSource.AISTUDIO: "ModelHub/Qwen3-0.6B-FP8", @@ -389,6 +399,16 @@ DownloadSource.AISTUDIO: "ModelHub/Qwen3-32B-FP8", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-32B-FP8", }, + "Qwen3-4B-Instruct-2507-FP8": { + DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Instruct-2507-FP8", + DownloadSource.AISTUDIO: "ModelHub/Qwen3-4B-Instruct-2507-FP8", + DownloadSource.HUGGINGFACE: "Qwen/Qwen3-4B-Instruct-2507-FP8", + }, + "Qwen3-4B-Thinking-2507-FP8": { + DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Thinking-2507-FP8", + DownloadSource.AISTUDIO: "ModelHub/Qwen3-4B-Thinking-2507-FP8", + DownloadSource.HUGGINGFACE: "Qwen/Qwen3-4B-Thinking-2507-FP8", + }, } ) @@ -466,7 +486,7 @@ DownloadSource.AISTUDIO: "ModelHub/Qwen3-Coder-30B-A3B-Instruct", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-Coder-30B-A3B-Instruct", }, - "Qwen3-Coder-480-A35B-Instruct": { + "Qwen3-Coder-480B-A35B-Instruct": { DownloadSource.MODELSCOPE: "Qwen/Qwen3-Coder-480B-A35B-Instruct", DownloadSource.AISTUDIO: "ModelHub/Qwen3-Coder-480B-A35B-Instruct", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-Coder-480B-A35B-Instruct", @@ -476,7 +496,7 @@ DownloadSource.AISTUDIO: "ModelHub/Qwen3-Coder-30B-A3B-Instruct-FP8", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-Coder-30B-A3B-Instruct-FP8", }, - "Qwen3-Coder-480-A35B-Instruct-FP8": { + "Qwen3-Coder-480B-A35B-Instruct-FP8": { DownloadSource.MODELSCOPE: "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", DownloadSource.AISTUDIO: "ModelHub/Qwen3-Coder-480B-A35B-Instruct-FP8", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8", From 1e7e21c7d8cef5b94d09585c493c80876ff40980 Mon Sep 17 00:00:00 2001 From: Ace-To-HYB Date: Fri, 19 Sep 2025 12:06:18 +0800 Subject: [PATCH 2/2] fix codestyle --- paddleformers/transformers/download_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddleformers/transformers/download_utils.py b/paddleformers/transformers/download_utils.py index 5a256411600..cf0b3e0d4a4 100644 --- a/paddleformers/transformers/download_utils.py +++ b/paddleformers/transformers/download_utils.py @@ -363,12 +363,12 @@ DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Instruct-2507", DownloadSource.AISTUDIO: "ModelHub/Qwen3-4B-Instruct-2507", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-4B-Instruct-2507", - }, + }, "Qwen3-4B-Thinking-2507": { DownloadSource.MODELSCOPE: "Qwen/Qwen3-4B-Thinking-2507", DownloadSource.AISTUDIO: "ModelHub/Qwen3-4B-Thinking-2507", DownloadSource.HUGGINGFACE: "Qwen/Qwen3-4B-Thinking-2507", - }, + }, "Qwen3-0.6B-FP8": { DownloadSource.MODELSCOPE: "Qwen/Qwen3-0.6B-FP8", DownloadSource.AISTUDIO: "ModelHub/Qwen3-0.6B-FP8",