-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Align tiny-Glm4MoeForCausalLM with GLM-4.5 reference config #5638
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
base: new-tiny-model-generation
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,6 +37,7 @@ | |
|
|
||
| MODEL_REVISIONS = { | ||
| # Add model_id: revision mappings here to test PRs | ||
| "trl-internal-testing/tiny-Glm4MoeForCausalLM": "refs/pr/1", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Temporary MODEL_REVISIONS entry left in conftestHigh Severity The Reviewed by Cursor Bugbot for commit 540502a. Configure here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
| } | ||
|
|
||
|
|
||
|
|
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hardcoded
vocab_sizedeviates from pattern and likely incorrectMedium Severity
vocab_size=151365is hardcoded instead of usinglen(tokenizer.vocab)like every other tiny model generation script in the repository. The PR description's "after" diff output showsvocab_sizeis no longer a difference between the reference (151552) and the tiny model — implying the value was expected to match the reference. However,151365doesn't match151552, suggesting the hardcoded value is stale. Usinglen(tokenizer.vocab)would dynamically produce the correct value and stay consistent with all sibling scripts.Reviewed by Cursor Bugbot for commit 49d5fca. Configure here.