← Back to models

Qwen2.5 0.5B Instruct

Text Generation

Qwen 2.5 0.5B Instruct - Small but capable instruction-tuned LLM from Alibaba Cloud

Integration

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

// Load the LLM
let model = Xybrid::model("qwen2.5-0.5b-instruct").load()?;

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

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