Qwen Chat - Interactive Chat Example

This example demonstrates interactive chat with Qwen models using chat templates.

Run command:

cargo run --example qwen_chat --release --features inference

Topics covered:

  • Chat template formatting (ChatML)
  • Multi-turn conversation handling
  • System prompt configuration
  • Streaming token generation

See also: