← Back to models
Gemma 4 E2b
Text GenerationGemma 4 E2B - Google's compact multimodal LLM with 2.3B effective params, 128K context, and audio/image/video understanding
Integration
main.rs
use xybrid_sdk::{Xybrid, Envelope};
// Load the LLM
let model = Xybrid::model("gemma-4-e2b").load()?;
// Run text generation
let result = model.run(&Envelope::text("Explain quantum computing in simple terms."))?;
println!("{}", result.text.unwrap());