Crates.io | lmonade-models |
lib.rs | lmonade-models |
version | 0.1.0-alpha.2 |
created_at | 2025-08-20 14:09:29.522088+00 |
updated_at | 2025-08-21 22:06:43.078102+00 |
description | LLM model architectures and serving components for the Lmonade inference engine |
homepage | |
repository | https://jgok76.gitea.cloud/femtomc/lmonade |
max_upload_size | |
id | 1803468 |
size | 153,082 |
Core model architectures and serving components for the Lmonade inference engine.
This crate provides:
src/models/
)src/components/
)src/formats/
)src/serving/
)
use lmonade_models::models::tinyllama::TinyLlamaModel;
use lmonade_models::formats::config::ModelConfig;
// Load model configuration
let config = ModelConfig::from_file("path/to/config.json")?;
// Initialize model
let model = TinyLlamaModel::new(&config)?;
For detailed API documentation and architectural details, see:
This crate is under active development. TinyLlama inference is partially working with ongoing optimizations for performance and accuracy.