Mistral 7B v0.3

MistralAI

mistral

作为最受欢迎的开源LLM之一,Mistral 7B Instruct 模型在速度、大小和性能之间取得了平衡,使其成为出色的通用日常模型。

模型信息

模型

Mistral 7B v0.3

作者

MistralAI

架构

mistral

参数

7B

格式

gguf

磁盘大小

大约 4.37 GB

下载并运行Mistral 7B v0.3

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

从终端下载 mistral-7b

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

lms get mistral-7b

从你的代码中调用 mistral-7b

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

下一步:构建!🔨

了解更多