Skip to content

Commit

Permalink
add models config
Browse files Browse the repository at this point in the history
Signed-off-by: changwangss <[email protected]>
  • Loading branch information
changwangss committed Oct 27, 2023
1 parent 313e1bd commit deda7e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions optimum/utils/normalized_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,11 @@ class NormalizedConfigManager:
"xlm-roberta": NormalizedTextConfig,
"yolos": NormalizedVisionConfig,
"mpt": MPTNormalizedTextConfig,
"mixformer-sequential": GPTBigCodeNormalizedTextConfig,
"baichuan": NormalizedTextConfig,
"qwen": NormalizedTextConfig,
"chatglm": NormalizedTextConfig.with_args(num_layers="num_layers"),

}

@classmethod
Expand Down

0 comments on commit deda7e3

Please sign in to comment.