Once #203 is merged, it would be good to give an example of how to use custom templates for model cards.
This should include how to add the sections that come by default with the default template:
- metrics (when calling
card.add_metrics)
- getting started code (automatic)
- model hyperparams
- model plot (automatic if
model_diagram=True)
Those are not added by default when using a custom template but it's still possible to add them the normal way (i.e. using card.add), although it's not obvious how. The examples should explain that.
This might also require exposing some convenience functions to the user, e.g. a way to create the sklearn model diagram with a single function call.
Once #203 is merged, it would be good to give an example of how to use custom templates for model cards.
This should include how to add the sections that come by default with the default template:
card.add_metrics)model_diagram=True)Those are not added by default when using a custom template but it's still possible to add them the normal way (i.e. using
card.add), although it's not obvious how. The examples should explain that.This might also require exposing some convenience functions to the user, e.g. a way to create the sklearn model diagram with a single function call.