You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of this component is to use schemaGen and StatisticsGen output and generate an html version of a model card for the produced model version after the model was pushed to its destination.
The component is acting as a wrapper for model_card_toolkit.ModelCardToolkit.
Key parameters for ModelCardToolkit like model_card.model_parameters.data.train.graphics.description, model_card.model_parameters.data.eval.graphics.description, and/or model_card.quantitative_analysis.graphics.description are passed to the component as args as they won't change between pipeline runs.
ModelCardToolkit connects with the MLMD for dynamic information like data statistics. With all information about the pipeline run, ModelCardToolkit generates an html page (based on mct.export_format() and tf.io.write_file) and then saves the html page to a provided path and registers the component output with the MLMD.
A component stub based on TFX 0.2X exists and could be used as a starting point.
Hi @shuklak13, Thank you for sharing the detailed design doc.
I left a few comments in the design doc. Happy to chat more about it if you like. Sync or async.
Expected Component Behavior
The purpose of this component is to use schemaGen and StatisticsGen output and generate an html version of a model card for the produced model version after the model was pushed to its destination.
The component is acting as a wrapper for
model_card_toolkit.ModelCardToolkit
.Key parameters for
ModelCardToolkit
likemodel_card.model_parameters.data.train.graphics.description
,model_card.model_parameters.data.eval.graphics.description
, and/ormodel_card.quantitative_analysis.graphics.description
are passed to the component asargs
as they won't change between pipeline runs.ModelCardToolkit
connects with theMLMD
for dynamic information like data statistics. With all information about the pipeline run,ModelCardToolkit
generates an html page (based onmct.export_format()
andtf.io.write_file
) and then saves the html page to a provided path and registers the component output with the MLMD.A component stub based on TFX 0.2X exists and could be used as a starting point.
The text was updated successfully, but these errors were encountered: