Git (Custom Code)
Git (Custom Code)
This method allows you to pull custom code to load the model, and write custom pre-processing and post-processing functions. This method is best suited if you want to run a pipeline of models.
Language Supported: Python
Types of Provider
-
GitHub
-
GitLab
Creating the interface Code
We have created a Template repository that you can use as a base to inject your code you can find a sample here with the GPT Neo model.
Github Repo: https://github.com/infer-less/template-method
input_schema.py