Skip to content

Model ​

A Model, in Alida, collects metadata and files implementing a machine learning model.

Management of Models ​

The Models management page is accessible from the sidebar menu:

sidebar-menu-with-models-item-highlighted

From there, it is possible to view the list of Models available in the catalog:

models-management-page

Here, from the top bar, it is possible to: models-page-top-toolbar

  • Search for Models by keywords
  • Filter Models by status
    • Virtual (not-yet-created-item-bookmark-icon)
    • Created
  • Filter by Privacy level
  • Filter by tags
  • Sort and change page
  • Access the Model registration form

Furthermore, from each Model card, it is possible to access the following functions:

Download the Model to the local computer ​

download-model-button

Delete the Model ​

delete-model-button

New Model Registration ​

To register a new Model, click on + Register Model from the Models management page; the registration form will open:

model-registration-form

At this point, the procedure is entirely analogous to what was seen during the Quickstart for uploading a Dataset (see Dataset Upload in Quickstart)

The only difference is that here you can also select the format of the Model to be uploaded.

The supported formats are the following:

format (Alida)Framework / useimplementation in model-settings.jsonparameters.uri (what it points to)Main notesDocumentation
SKLearnSerialized scikit-learn models (joblib/pickle)mlserver_sklearn.SKLearnModelModel file: e.g. ./model.joblib or ./model.pklTabular sklearn models saved via joblib/pickle.https://github.com/SeldonIO/MLServer/tree/master/runtimes/sklearn
XGBoostXGBoost modelsmlserver_xgboost.XGBoostModelModel file: e.g. ./model.json or ./model.bstModels saved with XGBoost API (save_model).https://github.com/SeldonIO/MLServer/tree/master/runtimes/xgboost.html
LightGBMLightGBM modelsmlserver_lightgbm.LightGBMModelModel file: e.g. ./model.txt / ./model.bstArtifacts exported with Booster.save_model.https://github.com/SeldonIO/MLServer/tree/master/runtimes/lightgbm.html
MLFlowModels saved or registered with MLflowmlserver_mlflow.MLflowRuntimeMLflow directory, e.g. ./model or models:/MyModel/1Uses the MLflow folder (MLmodel, environment, etc.).https://github.com/SeldonIO/MLServer/tree/master/runtimes/mlflow.html
HuggingFaceHuggingFace Transformers models/pipelinesmlserver_huggingface.HuggingFaceRuntimeNot always necessary; often configured via extraFor NLP/LLM; configuration via parameters.extra.https://github.com/SeldonIO/MLServer/tree/master/runtimes/huggingface.html
Spark MlibSpark MLlib modelsmlserver_mllib.MLlibModelPath to pipeline saved from Spark MLlibLoads pipelines exported via model.write().save.https://github.com/SeldonIO/MLServer/tree/master/runtimes/mllib.html
PythonCustom models in PythonE.g. mlserver_python.PythonModel or your subclassDirectory with Python code + optional model fileAllows implementing load() and predict() manually.https://github.com/SeldonIO/MLServer/tree/master/runtimes/python.html
MLServerCatch-all for generic runtimes (Tempo, Alibi, custom)Depends on the desired runtimeDirectory with runtime artifacts (Tempo, Alibi, etc.)Used for runtimes not covered above.https://github.com/SeldonIO/MLServer/blob/master/docs/user-guide/custom.md