- ollama run qwen2.5:0.5b
- 接口访问
post
http://127.0.0.1:11434/api/generate
{
"model": "qwen2.5:0.5b",
"prompt":"帮我写一个java排序算法",
"stream":false
}
post
http://127.0.0.1:11434/api/generate
{
"model": "qwen2.5:0.5b",
"prompt":"帮我写一个java排序算法",
"stream":false
}