Tags and MetadataΒΆ

Add tags and metadata to on-device machine learning models. Models can be queried by tags and loaded dynamically via the SDK giving you more control over distribution and usage. Deliver models to users based on hardware, location, software environment or any other attribute.

Adding tags to models

Add tags to your models to dynamically control which models users see.

Add tags on the Model Details page in the webapp. Here we are adding two tags, handwriting-model and digits:

Adding model tags

Adding model tags (click image to view full size)

Tags can be added or removed from individual models and are global per across the project.

Adding metadata to models

You can add metadata to any model. This metadata is accessible via the SDK. Examples of metadata include a pretty name to be shown to users or a link to a thumbnail image. All entered keys and values are stored as strings.

Adding model metadata

Adding model metadata (click image to view full size)

Model metadata must fit the following requirements:

  • No more than 20 key-value pairs.
  • Keys must be no longer than 40 characters.
  • Values must be no longer than 500 characters.

Distribute tagged models with the SDK

Follow the iOS or Android directions in order to use the SDK to query and load models by tags.