Attach metadata to a model
Attach any metadata as key-value pairs to your models for future reference and auditability.
Logging Metadata for Models
While artifact metadata is specific to individual outputs of steps, model metadata encapsulates broader and more general information that spans across multiple artifacts. For example, evaluation results or the name of a customer for whom the model is intended could be logged with the model.
Here's an example of logging metadata for a model:
In this example, the metadata is associated with the model rather than the specific classifier artifact. This is particularly useful when the metadata reflects an aggregation or summary of various steps and artifacts in the pipeline.
Fetching logged metadata
Once metadata has been logged in an artifact, model, or step, we can easily fetch the metadata with the ZenML Client:
Last updated