•
gemma
来自 Google 的最先进的图像+文本输入模型,基于与 Gemini 模型相同的研究和技术构建
使用 lms 下载模型 — LM Studio 的开发者 CLI。
lms get gemma-3-4b
curl http://localhost:1234/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "gemma-3-4b",
"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 文档