Model-card

Latest version: v0.1.3

Safety actively analyzes 624698 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.3

Major Features and Improvements

Bug fixes and other changes

* Update model_card.py docstrings. Now hosted on [Responsible AI](https://www.tensorflow.org/responsible_ai/model_card_toolkit/api_docs/python/model_card_toolkit).

Breaking changes

Deprecations

0.1.2

Major Features and Improvements

* In default_template.md.jinja and default_template.html.jinja, generate metrics table from `quantitative_analysis.performance_metrics`.

Bug fixes and other changes

* Reference URLs in default HTML and Markdown template are now hyperlinks
* Fix bug where Considerations div is displayed in HTML model cards, even if Considerations div is empty.
* Update required fields in schema.
* Removed considerations as required field.
* Add lower_bound and upper_bound as required fields to confidence_interval.
* Fixed the part dependencies error for [new pip dependency resolver](https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020).
* Update how UI templates are copied to be compatible with different platforms (colab, wetlab).
* Add model_card_toolkit.validation.validate_json_schema(), a function to validate a Python dictionary against the Model Card JSON schema.
* Fix the bug that some slices may have extra metrics that other slices does not have. e.g. __ERROR__ metric.

Breaking changes

Deprecations

0.1.1

Major Features and Improvements

* add Markdown template

Bug fixes and other changes

* remove `quantitative_analysis` from required fields
* add `input_format` and `export_format` fields
* add `model_architecture`, `input_format`, and `export_format` to HTML template
* add Cats vs Dogs util for `Standalone_Model_Card_toolkit_Demo.ipynb`

Breaking changes

* Rename `_figure_to_base64str` to `figure_to_base64str`

Deprecations

0.1.0

Major Features and Improvements

Initial release of Model Card Toolkit.

Bug fixes and other changes

Breaking changes

Deprecations

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.