← 返回命令列表

Linux command

qwen 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Chat with Qwen

qwen

Send prompt

qwen "[prompt]"

Use specific model

qwen --model [qwen-turbo] "[prompt]"

说明

qwen is a command-line interface for interacting with Alibaba Cloud's Qwen series of large language models. It provides an interactive chat experience directly from the terminal, supporting both conversational prompts and single-shot queries for quick answers. The tool connects to Alibaba's DashScope API to access various Qwen model variants, including Qwen Turbo for fast responses and larger models for more complex reasoning tasks. Temperature and other sampling parameters can be adjusted to control response creativity and determinism.

参数

--model _MODEL_
Model to use.
--temperature _TEMP_
Sampling temperature.

FAQ

What is the qwen command used for?

qwen is a command-line interface for interacting with Alibaba Cloud's Qwen series of large language models. It provides an interactive chat experience directly from the terminal, supporting both conversational prompts and single-shot queries for quick answers. The tool connects to Alibaba's DashScope API to access various Qwen model variants, including Qwen Turbo for fast responses and larger models for more complex reasoning tasks. Temperature and other sampling parameters can be adjusted to control response creativity and determinism.

How do I run a basic qwen example?

Run `qwen` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --model _MODEL_ do in qwen?

Model to use.