← Back to models
Smollm2 360M
Text GenerationSmolLM2 360M - HuggingFace's best tiny LLM, excellent quality/size ratio
Integration
main.rs
use xybrid_sdk::{Xybrid, Envelope};
// Load the LLM
let model = Xybrid::model("smollm2-360m").load()?;
// Run text generation
let result = model.run(&Envelope::text("Explain quantum computing in simple terms."))?;
println!("{}", result.text.unwrap());