model_card_toolkit.ModelParameters

Parameters for construction of the model.

Inherits From: BaseModelCardField

model_architecture specifies the architecture of your model.
data specifies the datasets used to train and evaluate your model.
input_format describes the data format for inputs to your model.
input_format_map describes the data format for inputs to your model, in key-value format.
output_format describes the data format for outputs from your model.
output_format_map describes the data format for outputs to your model, in key-value format

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.

input_format None
model_architecture None
output_format None