I added option local_model to pipeline. It ignores modelcard to load local models that without having modelcard.
I kept framework as torch. In some cases like loading local models i have got error that InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type.. We can leave it like this to stay safe.
I've made changes as we talked in pr.
I added option
local_model
to pipeline. It ignoresmodelcard
to load local models that without having modelcard.I kept framework as torch. In some cases like loading local models i have got error that
InvalidArgument: [ONNXRuntimeError] : 2 : INVALID_ARGUMENT : Unexpected input data type.
. We can leave it like this to stay safe.