use-ml-model-card 0.0.1

Model-card metadata primitives for RustUse machine-learning workflows.
Documentation
  • Coverage
  • 1.43%
    1 out of 70 items documented1 out of 30 items with examples
  • Size
  • Source code size: 11.41 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.27 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • RustUse/use-ml
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CloudBranch

use-ml-model-card

Model-card metadata primitives for RustUse machine-learning workflows.

Experimental

use-ml-model-card is experimental while use-ml remains below 0.3.0.

Example

use use_ml_model_card::{MlModelCard, MlModelCardName, MlModelCardSection};

let card = MlModelCard::new(MlModelCardName::new("baseline-card")?)
    .with_section(MlModelCardSection::Overview);

assert_eq!(card.name().as_str(), "baseline-card");
assert_eq!(card.sections(), &[MlModelCardSection::Overview]);
# Ok::<(), use_ml_model_card::MlModelCardError>(())

Scope

  • Model-card names, sections, intended use labels, audience labels, limitation text, risk labels, evaluation summaries, dataset references, and owners.
  • Metadata only for documenting ML models.

Non-goals

  • Generating full reports, making policy claims, or validating policy compliance.
  • Prompt cards, assistant cards, agent cards, or AI product cards in v0.1.

License

Licensed under either Apache-2.0 or MIT.