QuestionQ40

VerifiedAI Center

Which requirements must be met by a package that contains only the serving component?

Explanation

A serving-only ML package must include main.py with a Main class implementing __init__(self) to load the model or local data and predict(self, input) for inference, together with requirements.txt listing the dependencies required to run the model. train and evaluate are associated with the optional training and evaluation component.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!