•
command-r
C4AI Command-R 是一个研究发布的拥有 350 亿参数的高性能生成模型
模型信息
模型
Cohere Command R v01 4bit
作者
mlx-community
架构
command-r
参数量
350亿
格式
safetensors
磁盘大小
大约 22.70 GB
使用 lms
— LM Studio 的开发者 CLI 下载模型。
lms get command-r
curl https://127.0.0.1:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "command-r",
"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 文档