[GH-ISSUE #836] Support setting parameters without a modelfile #62437

Closed
opened 2026-05-03 08:57:24 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @chigkim on GitHub (Oct 18, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/836

Originally assigned to: @pdevine on GitHub.

I know you can set temperature using modelfile or api, but it would be much more convenient to be able to do it in cli.

For example:
ollama run llama-2 -temperture 0.1 when loading
and/or
/set temperature 0.1 in runtime
Thanks for your consideration!

Originally created by @chigkim on GitHub (Oct 18, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/836 Originally assigned to: @pdevine on GitHub. I know you can set temperature using modelfile or api, but it would be much more convenient to be able to do it in cli. For example: `ollama run llama-2 -temperture 0.1` when loading and/or `/set temperature 0.1` in runtime Thanks for your consideration!
GiteaMirror added the feature request label 2026-05-03 08:57:24 -05:00
Author
Owner

@technovangelist commented on GitHub (Jan 3, 2024):

Hi @chigkim, back when you submitted this, you suggested doing this on the CLI OR in the REPL. I'm not sure when it was rolled out, but you can now do this in the REPL. So if you run ollama run llama2, then you can type: /set parameter temperature 0.1. I think that addresses your issue. Would you say that is what you were hoping for? Should we close the issue?

<!-- gh-comment-id:1874758310 --> @technovangelist commented on GitHub (Jan 3, 2024): Hi @chigkim, back when you submitted this, you suggested doing this on the CLI **OR** in the REPL. I'm not sure when it was rolled out, but you can now do this in the REPL. So if you run `ollama run llama2`, then you can type: `/set parameter temperature 0.1`. I think that addresses your issue. Would you say that is what you were hoping for? Should we close the issue?
Author
Owner

@chigkim commented on GitHub (Jan 3, 2024):

Thanks for letting me know!
That's seems possible now, and that was exactly what I was looking for.
Thanks!

<!-- gh-comment-id:1874812569 --> @chigkim commented on GitHub (Jan 3, 2024): Thanks for letting me know! That's seems possible now, and that was exactly what I was looking for. Thanks!
Author
Owner

@sammcj commented on GitHub (May 5, 2024):

Is this actually fixed? I still can't find a way to set parameters without first loading a model (e.g. ollama set parameter flash_attn true etc...)

<!-- gh-comment-id:2094989092 --> @sammcj commented on GitHub (May 5, 2024): Is this actually fixed? I still can't find a way to set parameters without first loading a model (e.g. `ollama set parameter flash_attn true` etc...)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62437