Back to Models

Gemma 4 E2b

Text Generation

Gemma 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());

Details

Task
Text Generation
Family
Google
Parameters
5.1B
Format
gguf
Quantization
q4_k_m
Size
2.9 GB
Model ID
gemma-4-e2b