Command-R

CohereForAI

cohere

能够使用超过 10 种语言进行聊天,Cohere AI 的 Command-R 针对 RAG 进行了优化,但在任何任务中都能表现良好。

模型信息

模型

Command-R

作者

CohereForAI

架构

cohere

参数量

35B

格式

gguf

磁盘占用空间

大约 13.82 GB

下载并运行Command-R

在 LM Studio 中打开以查看下载选项

从终端下载 c4ai-command-r

使用 lms — LM Studio 的开发者 CLI 下载模型。

lms get c4ai-command-r

从你的代码中调用 c4ai-command-r

curl https://127.0.0.1:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "c4ai-command-r",
    "messages": [
      { "role": "system", "content": "Always answer in rhymes." },
      { "role": "user", "content": "Introduce yourself." }
    ],
    "temperature": 0.7,
    "max_tokens": -1,
    "stream": true
  }'

下一步:构建!🔨

了解更多