← Back to DAGDA | Support | Source: https://github.com/shadowmodder/modelcard-gen
Skip to content

About

Model documentation rots because it's manual. `modelcard-gen` makes it a build step: keep a small JSON config

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

modelcard-gen

Model documentation rots because it's manual. modelcard-gen makes it a build step: keep a small JSON config next to your model and generate a clean Model Card on every release.

Install

pip install -e .

CLI

modelcard-gen examples/fraud_scorer.json -o MODEL_CARD.md

Library

from modelcardgen import render
print(render({"name": "Fraud Scorer", "metrics": {"roc_auc": 0.97}}))

Scalar dicts (like metrics) render as tables; lists render as bullets. Sections follow the standard Model Card layout (details, intended use, data, metrics, limitations, ethics). MIT licensed.

About

Model documentation rots because it's manual. `modelcard-gen` makes it a build step: keep a small JSON config

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages