← Back to models

Llama 3.2 1B

Text Generation

Llama 3.2 1B - Meta's lightweight mobile-optimized instruction-tuned LLM with 128K context

Integration

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

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

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

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