← Back to models

Gemma 3 1B

Text Generation

Gemma 3 1B - Google's mobile-optimized instruction-tuned LLM with 32K context

Integration

main.rs
use xybrid_sdk::{Xybrid, Envelope};

// Load the LLM
let model = Xybrid::model("gemma-3-1b").load()?;

// Run text generation
let result = model.run(&Envelope::text("Explain quantum computing in simple terms."))?;

println!("{}", result.text.unwrap());