use-ml-model 0.0.1

ML model artifact metadata primitives for RustUse.
Documentation
  • Coverage
  • 1.02%
    1 out of 98 items documented1 out of 29 items with examples
  • Size
  • Source code size: 11.72 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.38 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

ML model artifact metadata primitives for RustUse.

Experimental

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

Example

use use_ml_model::{MlModelName, MlModelTask, MlModelStage};

let name = MlModelName::new("baseline-classifier")?;
let task: MlModelTask = "classification".parse()?;

assert_eq!(name.as_str(), "baseline-classifier");
assert_eq!(task, MlModelTask::Classification);
assert_eq!(MlModelStage::Experimental.as_str(), "experimental");
# Ok::<(), use_ml_model::MlModelError>(())

Scope

  • Model names, identifiers, versions, generic provider labels, and license labels.
  • Model kind, task, architecture, artifact, format, and lifecycle-stage labels.
  • Artifact metadata only.

Non-goals

  • Loading, training, running, serving, or registering models.
  • Chat/completion APIs, context windows, token limits, tool-use support, streaming support, reasoning modes, pricing, or API endpoint metadata.

License

Licensed under either Apache-2.0 or MIT.