Slide 13
Slide 13 text
import json
import model_card_toolkit as mctlib
model_card_json = {
'model_details': {'name': 'Census Income Classifier'},
'model_details': {'overview': 'This is a wide and deep Keras model...'},
'model_details': {
'owners':[{"name": "Model Cards Team", "contact": "model-cards@google.com"}]},
'considerations':{
'use_cases':[{
"description":'This dataset that this model was trained on...'}]
},
'considerations': {
'limitations': [{
'description':'This is a class-imbalanced dataset...'}]
},
'considerations': {
'ethical_considerations': [{
'name': 'We risk expressing the viewpoint that...',
'mitigation_strategy': 'As mentioned, some interventions may need to be ...'
}]
}
}