- ollama run qwen2.5:0.5b
- 接口訪問
post
http://127.0.0.1:11434/api/generate
{
"model": "qwen2.5:0.5b",
"prompt":"幫我寫一個(gè)java排序算法",
"stream":false
}
post
http://127.0.0.1:11434/api/generate
{
"model": "qwen2.5:0.5b",
"prompt":"幫我寫一個(gè)java排序算法",
"stream":false
}