Mrbean/codegen onnx (#17903)
This commit is contained in:
@@ -188,6 +188,11 @@ class FeaturesManager:
|
||||
"question-answering",
|
||||
onnx_config_cls="models.camembert.CamembertOnnxConfig",
|
||||
),
|
||||
"codegen": supported_features_mapping(
|
||||
"default",
|
||||
"causal-lm",
|
||||
onnx_config_cls="models.codegen.CodeGenOnnxConfig",
|
||||
),
|
||||
"convbert": supported_features_mapping(
|
||||
"default",
|
||||
"masked-lm",
|
||||
|
||||
@@ -180,6 +180,7 @@ PYTORCH_EXPORT_MODELS = {
|
||||
("ibert", "kssteven/ibert-roberta-base"),
|
||||
("camembert", "camembert-base"),
|
||||
("convbert", "YituTech/conv-bert-base"),
|
||||
("codegen", "Salesforce/codegen-350M-multi"),
|
||||
("deberta", "microsoft/deberta-base"),
|
||||
("deberta-v2", "microsoft/deberta-v2-xlarge"),
|
||||
("convnext", "facebook/convnext-tiny-224"),
|
||||
|
||||
Reference in New Issue
Block a user