Text generation Hugging Face
Smollm2 360M
SmolLM2 360M - HuggingFace's best tiny LLM, excellent quality/size ratio
smollm2-360m Make it part of your app.
One model. Your language.
use xybrid::ModelLoader;
use xybrid::ir::{Envelope, EnvelopeKind};
// LLMs need the llama.cpp backend: features = ["llm-llamacpp"]
let model = ModelLoader::from_registry("smollm2-360m").load()?;
// Run text generation
let input = Envelope::new(EnvelopeKind::Text("Explain quantum computing in simple terms.".into()));
let result = model.run(&input, None)?;
println!("{}", result.text().unwrap_or(""));Built with Xybrid Quickstart