File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
onnx_diagnostic/torch_models/hghub Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -211,9 +211,7 @@ def task_from_id(
211211 f"The task can be added in "
212212 f"``onnx_diagnostic.torch_models.hghub.hub_data.__data_arch__``."
213213 )
214- return task_from_arch (
215- config .architectures [0 ], default_value = default_value , model_id = model_id
216- )
214+ return task_from_arch (config .architectures [0 ], default_value = default_value )
217215
218216
219217def task_from_tags (tags : Union [str , List [str ]]) -> str :
Original file line number Diff line number Diff line change 9999 PegasusModel,feature-extraction
100100 Phi3ForCausalLM,text-generation
101101 PhiForCausalLM,text-generation
102+ PhiMoEForCausalLM,text-generation
102103 Pix2StructForConditionalGeneration,image-to-text
103104 PLBartForConditionalGeneration,text2text-generation
104105 PoolFormerModel,image-feature-extraction
You can’t perform that action at this time.
0 commit comments