-
Notifications
You must be signed in to change notification settings - Fork 301
Add and Register the Qwen3_MoE Presets to Hub #2429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
sachinprasadhs
merged 4 commits into
keras-team:master
from
laxmareddyp:laxma_qwen3_checkpoints
Oct 9, 2025
+35
−0
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
e79d0dd
Register and add the qwen3_moe presets to hub
laxmareddyp d105983
Update keras_hub/src/models/qwen3_moe/qwen3_moe_presets.py
laxmareddyp 99da168
Update keras_hub/src/models/qwen3_moe/qwen3_moe_presets.py
laxmareddyp 0962c14
Fix format issues
laxmareddyp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from keras_hub.src.models.qwen3_moe.qwen3_moe_backbone import Qwen3MoeBackbone | ||
from keras_hub.src.models.qwen3_moe.qwen3_moe_presets import backbone_presets | ||
from keras_hub.src.utils.preset_utils import register_presets | ||
|
||
register_presets(backbone_presets, Qwen3MoeBackbone) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
"""Qwen3 model preset configurations.""" | ||
|
||
backbone_presets = { | ||
"qwen3_moe_30b_a3b_en": { | ||
"metadata": { | ||
"description": ( | ||
"Mixture-of-Experts (MoE) model has 30.5 billion total parameters" | ||
" with 3.3 billion activated, built on 48 layers, and utilizes 32 query " | ||
"and 4 key/value attention heads with 128 experts (8 active)" | ||
"efficiency and fast inference on resource-constrained devices." | ||
), | ||
"params": 30532122624, | ||
"path": "qwen3_moe", | ||
}, | ||
"kaggle_handle": "kaggle://keras/qwen-3-moe/keras/qwen3_moe_30b_a3b_en/2", | ||
}, | ||
"qweqwen3_moe_235b_a22b_en": { | ||
laxmareddyp marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
"metadata": { | ||
"description": ( | ||
"Mixture-of-Experts (MoE) model has 235 billion total parameters," | ||
" with 22 billion activated, built on 94 layers, and utilizes 64 query " | ||
"and 4 key/value attention heads with 128 experts (8 active)." | ||
), | ||
"params": 235093634560, | ||
"path": "qwen3_moe", | ||
}, | ||
"kaggle_handle": "kaggle://keras/qwen-3-moe/keras/qwen3_moe_235b_a22b_en/1", | ||
}, | ||
|
||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.