Text generation Google
Gemma 4 E2b
Gemma 4 E2B - Google's compact multimodal LLM with 2.3B effective params, 128K context, and audio/image/video understanding
gemma-4-e2b 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("gemma-4-e2b").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
Available variants
| Variant | Format | Quantization | Size |
|---|---|---|---|
| universalDEFAULT | GGUF | q4_k_m | 2.9 GB |