This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
v1.0.0
Release 1.0.0
Major Features and Improvements
- Introduce
model_card.proto
. See https://developers.google.com/protocol-buffers for more info. - All classes in
model_card_toolkit.model_card
submodule now haveto_proto()
,merge_from_proto()
,copy_from_proto()
, andclear()
functions. ModelCardToolkit.export_format()
now acceptsmodel_card
arg.json_util.update()
, which updates a v0.0.1 JSON object to a v0.0.2 JSON object.
Bug fixes and other changes
- Update default template layout so charts can wrap to multiple rows
- Installing from source now requires Bazel>=2.0.0.
- Update model card templates to use new schema.
model_card_toolkit.utils.validation.validate_json_schema()
can now validate both schema v0.0.1 and v0.0.2.- Add
_jinja_loader
attribute tomodel_card_toolkit
to allow custom Jinja loaders.
Breaking changes
- JSON schema v0.0.2 replaces JSON schema v0.0.1.
ModelCardToolkit.update_model_card_json()
deprecated and replaced withModelCardToolkit.update_model_card()
. Writes todata/model_card.proto
instead ofdata/model_card.json
.graphics.annotate_dataset_feature_statistics_plots
accepts a list of stats files instead of two individual train and eval stats params.