Skip to content

shadowmodder/modelcard-gen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages