SmolLM 360M v0.2

HuggingFace

llama

SmolLM 是 HuggingFace 的原创模型,名副其实地体积小巧,几乎可以在任何设备上运行。还有一个稍大的 17 亿参数的版本可供选择。

模型信息

模型

SmolLM 360M v0.2

作者

HuggingFace

架构

llama

参数

360M

格式

gguf

磁盘大小

386.41 MB

下载并运行SmolLM 360M v0.2

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

从终端下载 smollm-360m

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

lms get smollm-360m

从你的代码中调用 smollm-360m

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

下一步:构建!🔨

了解更多