model_card_toolkit.Risk

Stay organized with collections Save and categorize content based on your preferences.

Information about risks involved when using the model.

Inherits From: BaseModelCardField

name The name of the risk.
mitigation_strategy A mitigation strategy that you've implemented, or one that you suggest to users.

Methods

clear

View source

Clear the subfields of this BaseModelCardField.

copy_from_proto

View source

Copies the contents of the model card proto into current object.

merge_from_proto

View source

Merges the contents of the model card proto into current object.

to_dict

View source

Convert your model card to a python dictionary.

to_json

View source

Convert this class object to json.

to_proto

View source

Convert this class object to the proto.

__eq__

mitigation_strategy None
name None