-
Notifications
You must be signed in to change notification settings - Fork 492
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
add NormalizedConfig support qwen, baichuan, chatglm #1490
base: main
Are you sure you want to change the base?
Changes from 2 commits
deda7e3
e0ed336
359b38e
a178662
fa8ad73
927e947
9e291db
e38d40a
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 |
---|---|---|
|
@@ -254,6 +254,10 @@ class NormalizedConfigManager: | |
"xlm-roberta": NormalizedTextConfig, | ||
"yolos": NormalizedVisionConfig, | ||
"mpt": MPTNormalizedTextConfig, | ||
"mixformer-sequential": GPTBigCodeNormalizedTextConfig, | ||
"baichuan": NormalizedTextConfig, | ||
"qwen": NormalizedTextConfig, | ||
"chatglm": NormalizedTextConfig.with_args(num_layers="num_layers"), | ||
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. what about the vocab size, shouldn't it be 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. chatglm has 3 models , I find chatglm is
Comment on lines
+266
to
+268
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.
|
||
} | ||
|
||
@classmethod | ||
|
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.
mpt is already in the list.