model_card_toolkit.Owner

The information about owners of a model.

Inherits From: BaseModelCardField

name The name of the model owner.
contact The contact information for the model owner or owners. These could be individual email addresses, a team mailing list expressly, or a monitored feedback form.

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__

__len__

View source

Returns the number of items in a field. Ignores None values recursively, so the length of a field that only contains another field that has all None values would be 0.

contact None
name None