•
qwen
来自阿里巴巴 Qwen2 系列的小型模型,在数学和多步骤逻辑推理方面表现出色。
模型信息
模型
Qwen2 Math 1.5B
作者
阿里巴巴
架构
qwen
参数
1.5B
格式
gguf
磁盘大小
大约 986.05 MB
使用 lms 下载模型 — LM Studio 的开发者 CLI。
lms get qwen2-math-1.5b
curl https://127.0.0.1:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "qwen2-math-1.5b",
"messages": [
{ "role": "system", "content": "Always answer in rhymes." },
{ "role": "user", "content": "Introduce yourself." }
],
"temperature": 0.7,
"max_tokens": -1,
"stream": true
}'
lms log stream
以查看发送到 LLM 的提示。lmstudio.js
- LM Studio SDK 文档 (TypeScript)lms log stream
- 流式传输服务器日志lms
- LM Studio 的 CLI 文档