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

Uploaded Python 3

File details

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

File metadata

  • Download URL: dreams_mc-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 f1ae7bb0db5da6f414b7f7b718079b50517b333ef4e625c026e1880fbca78e29
MD5 61d190145a6431d92b00badc207d13f1
BLAKE2b-256 746bbce895905eb22dcdaac4bcf75303dd396f6555955c46c5019c74b4602270

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dreams_mc-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 66b7c0068e25f9779ac1f0809c782541ddca83c857e97f49fdae3846bd6c2661
MD5 10a0bfcfdb816bdcd069e0dced9f471a
BLAKE2b-256 ac39af971dc6c5f66a32cc7537a42d74cffaf8fbc5c9739bb820566c6d6a215f

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