Installation
[]
= "0.1"
Usage
use *;
Examples
CLI
Features
| Feature | Description |
|---|---|
compression |
Zstd compression (default) |
cli |
Command-line interface (default) |
encryption |
AES-256-GCM encryption |
License
MIT
[dependencies]
pacha = "0.1"
use pacha::prelude::*;
fn main() -> Result<()> {
let registry = Registry::open(RegistryConfig::default())?;
// Register a model with documentation
let card = ModelCard::builder()
.description("Fraud detection model")
.metrics([("auc", 0.95), ("f1", 0.88)])
.build();
registry.register_model(
"fraud-detector",
&ModelVersion::new(1, 0, 0),
&model_bytes,
card,
)?;
Ok(())
}
cargo run --example quick_start
cargo run --example model_versioning
cargo run --example experiment_tracking
cargo run --example lineage_tracking
cargo run --example content_addressing
pacha init
pacha model register fraud-detector model.apr -v 1.0.0
pacha model list
pacha model stage fraud-detector -v 1.0.0 -t production
pacha stats
| Feature | Description |
|---|---|
compression |
Zstd compression (default) |
cli |
Command-line interface (default) |
encryption |
AES-256-GCM encryption |
MIT