Back to Models

Smollm2 360M

Text Generation

SmolLM2 360M - HuggingFace's best tiny LLM, excellent quality/size ratio

Integration

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

// Load the LLM
let model = Xybrid::model("smollm2-360m").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
HuggingFace
Parameters
360M
Format
gguf
Quantization
q4_k_m
Size
254.2 MB
Model ID
smollm2-360m