Running inference for smpadhy/smart-ml-hpc-hug0 : https://colab.research.google.com/drive/1Nxai8OnLU5LUJC6tUn23Ukm-KVipOrXd?usp=sharing
model.predict() as it gives error
The feature names should match those that were passed during fit. Feature names must be in the same order as they were in fit. when input is formatted as pandas dataframeX does not have valid feature names, but StandardScaler was fitted with feature names when input is formatted as numpy arraymodel.fit() was done and maybe explore model formatting other than .pklTrial of OpenClip model usage for inference:
Experiments using HF optimum to use ONNX model for inference: https://colab.research.google.com/drive/1YdktJw0CT_oUW2YBDsVSMxNuLWNBmyC5?usp=sharing
Demo submission for Science Gateways 2024:
hub APIChoose how you want to have a copy of ML Hub’s models API docker image to run locally:
Example API calls to ML Hub models , datasets , and inference APIs - exported in JSON format. Prior to using the endpoints on the API, hit the /auth endpoint to authenticate.
Collections of endpoints for ML Hub deployed in pods
Collection of endpoints for ML Hub models and datasets API for local testing
Collection of endpoints for ML Hub inference API for local testing
(Postman workspace has been shared with Nathan and Alex):
hub-test is used for local deployment/testing of Models & Datasets APIinference-test is used for local deployment/testing of Inference APIMLhub-demo is used for Models, Datasets and Inference API that is deployed on Pods service