model_card_toolkit.ModelSource

Sources to extract PushedModel data for a model card.

Provide exactly one of pushed_model_path or pushed_model_artifact.

pushed_model_path The path of a PushedModel.
pushed_model_artifact The MLMD artifact for a PushedModel.

Methods

__eq__

pushed_model_artifact None
pushed_model_path ''