Skip to main content

Library for DL models reporting. dreams_mc is a Python package designed to simplify the process of creating comprehensive model cards for deep learning models. Model cards(mc) are crucial for documenting the performance, usage, and limitations of AI models, promoting transparency and ethical use of AI.

Project description

Documentation Status license PyPI - Python Version Downloads

Deep Report for AI Models (DREAMS)

dreams_mc is a Python package designed to simplify the process of creating comprehensive model cards for deep learning models. Model cards(mc) are crucial for documenting the performance, usage, and limitations of AI models, promoting transparency and ethical use of AI.

Features

  • Generate Comprehensive Model Cards: Easily produce detailed model cards including sections like project overview, dataset description, results with plots, uncertainty estimation, and references.

  • Configurable: Use a YAML configuration file to customize the model card content, making it adaptable to a wide range of projects and models.

  • Support for Various Plot Types: Integrate visualizations such as performance graphs and uncertainty estimations directly into your model cards.

Installation

You can install the dreams package using pip:

pip install dreams_mc

Advanced users can take full potential of DREAMS by installing as a python package.

pip install git+https://github.com/LucidJun/DREAM.git

To generate a model card, ensure you have a configuration file (config.yaml) prepared with the necessary details about your model, dataset, and results. Here's a simple example of generating a model card:

from dreams_mc.make_model_card import generate_modelcard

# Path to your configuration file
config_file_path = '/path/to/your/config.yaml'

# Desired output path for the model card HTML file
output_path = '/path/to/output/model_card.html'

# Version number of your model
version_num = '1.0'

# Generate the model card
generate_modelcard(config_file_path, output_path, version_num)

Configuration

The config.yaml file should contain sections for your project overview, dataset description, results, uncertainty estimation, and references. Here's a brief outline of what each section might include:

  • Overview: General information about the model and its purpose.
  • Dataset Description: Details about the dataset used, including preprocessing steps and split ratios.
  • Results: Model performance metrics, possibly including training/validation losses, accuracy, etc.
  • Uncertainty Estimation: Information on how uncertainty is quantified in your model's predictions.
  • References: Citations or links to relevant papers, datasets, or other resources.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dreams_mc-0.0.1.tar.gz (4.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dreams_mc-0.0.1-py3-none-any.whl (4.6 MB view details)

Uploaded Python 3

File details

Details for the file dreams_mc-0.0.1.tar.gz.

File metadata

  • Download URL: dreams_mc-0.0.1.tar.gz
  • Upload date:
  • Size: 4.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for dreams_mc-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ce35533416f0e108ec7cb0504a73acdafcac55988e2a73726f412b5d33f7fd6f
MD5 8a798a92a6910e7ac0360b452e40a4c9
BLAKE2b-256 104bbc8d6c5957fb1f82cfe673cb9b4fbab123968e33d3bfbb21495360de4d02

See more details on using hashes here.

File details

Details for the file dreams_mc-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: dreams_mc-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for dreams_mc-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d6fc8be6f2ea6ef4480e40200c4add8eb483dec19b5f32553256409a42901f9c
MD5 269b9dc0ad6ade4adcee9c2625812699
BLAKE2b-256 9525f11d25df0640d3325ac621dc9cf00c8c763b04782f81595734af6a43b09b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page