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.2.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.2-py3-none-any.whl (4.6 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dreams_mc-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fd45128942cd96dae68ce7789c82b2338f1743b63f9ba5b2441f3a55c29fad6e
MD5 10fd20cc3c02c0d458f1fabfe28cd29a
BLAKE2b-256 a9f35b581e34b539128eecca29d639e7bbe42522a125840688bf6a129b53bfe4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dreams_mc-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 35e7e6379787c395b3588c6dc3e3363acfb11963691935184e418285891b0963
MD5 68ab523561ba6d23b8f6be35146d4f81
BLAKE2b-256 b72a3bb5b0b0b1058f6f6519cac5869aad1b6ed980dd4da43ac401e4ba1098f2

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