Registering Models and Editing Metadata

Register a Model in the Model Catalog and edit its metadata.

Notes:

  1. Model Catalog is currently experimental.
  2. This feature requires PostgreSQL to be installed.
  3. This demo expects that there is no existing model with the same URI or the same combination of Model Name and Version. The model catalog enforces uniqueness on these fields. Requests that result in a conflict will be rejected.

Register New Model

Register A Model

  1. From the Deployments Overview page, select Model Catalog at the top of the page.
  2. Click Register A New Model to open the registration modal.
  3. Enter the following parameters:
    • Model Name: cifar10
    • URI: gs://seldon-models/tfserving/cifar10/resnet32
    • Artifact Type: Tensorflow
    • Version: v1.0
    • Task Type: classification
  4. Append tags and metric parameters with the following values. To add more parameters, use the + button. To delete a parameter, use the x button:
    • Tags:
    • key: author, value: Seldon,
    • key: training_set, value: Resnet32,
    • Metrics:
    • key: p1, value: 0.8,
    • key: p2: value: 0.6
  5. Click Register Model

Edit Model Metadata

From The Model Catalog

Save metadata from the model catalog

  1. From the Deployments Overview page, select Model Catalog at the top of the page.
  2. Select a model. For the purposes of this demonstration, the model registered in the Register New Model step will be used.
  3. On the side drawer that opens, click EDIT METADATA.
  4. Add a new tag with the following values:
    • key: stage, value: production
  5. Click SAVE METADATA at the top right hand side of the side drawer to save your edit.

From A Deployment’s Dashboard

Save metadata from the model catalog

Note: Please follow the instructions on creating an Outlier Detector.

  1. From the Deployments Overview page, select the deploment to append metadata on the running model. For the purposes of this demonstration, the deployment created from the Outlier Detector example will be used.
  2. From your selected deployment’s dashboard, click the model being used to open a drawer on the right.
  3. Click EDIT METADATA.
  4. Under the Tags section, press the + button to add a new tag.
  5. For the new tag, enter the following parameters:
    • key: stage, value: production
  6. Click SAVE METADATA on the top right of the side drawer.

Last modified April 23, 2021