/model-settings.json Secret
Created
March 10, 2023 14:45
Unlocking Real-time Predictions with Shopify's Machine Learning Platform: Settings example for loading a model using the HuggingFace Inference Runtime
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "transformer", | |
"implementation": "mlserver_huggingface.HuggingFaceRuntime", | |
"parallel_workers": 0, | |
"parameters": { | |
"extra": { | |
"task": "text-generation", | |
"pretrained_model": "distilgpt2" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment