•
llama
一个具有代理能力的通用模型,改进了角色扮演、推理、多轮对话、长上下文连贯性
模型信息
模型
Hermes 3 Llama 3.2 3B
作者
NousResearch
架构
llama
参数
3b
格式
gguf
磁盘大小
大约 2.02 GB
使用 lms
— LM Studio 的开发者 CLI 下载模型。
lms get hermes-3-3b
curl https://127.0.0.1:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "hermes-3-3b",
"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 文档