Model zoo

Examples of various model artifact types from various frameworks running under Seldon Core 2.

  • SKlearn

  • Tensorflow

  • XGBoost

  • ONNX

  • Lightgbm

  • MLFlow

  • PyTorch

Python requirements in model-zoo-requirements.txt

SKLearn Iris Classification Model

The training code for this model can be found at scripts/models/iris in SCv2 repo.

cat ./models/sklearn-iris-gs.yaml
apiVersion: mlops.seldon.io/v1alpha1
kind: Model
metadata:
  name: iris
spec:
  storageUri: "gs://seldon-models/scv2/samples/mlserver_1.3.5/iris-sklearn"
  requirements:
  - sklearn
  memory: 100Ki

Tensorflow CIFAR10 Image Classification Model

png

XGBoost Model

The training code for this model can be found at ./scripts/models/income-xgb

ONNX MNIST Model

This model is a pretrained model as defined in ./scripts/models/Makefile target mnist-onnx

png

LightGBM Model

The training code for this model can be found at ./scripts/models/income-lgb

MLFlow Wine Model

The training code for this model can be found at ./scripts/models/wine-mlflow

Pytorch MNIST Model

This example model is downloaded and trained in ./scripts/models/Makefile target mnist-pytorch

png

Last updated

Was this helpful?