[GH-ISSUE #736] How to tune params like temperature, max tokens etc.? #62382

Closed
opened 2026-05-03 08:32:51 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @andr0s on GitHub (Oct 8, 2023).
Original GitHub issue: https://github.com/ollama/ollama/issues/736

I don't see anything like that in the usage section of the ollama command output.
P. S. I'm using the mac binary

Originally created by @andr0s on GitHub (Oct 8, 2023). Original GitHub issue: https://github.com/ollama/ollama/issues/736 I don't see anything like that in the `usage` section of the `ollama` command output. P. S. I'm using the mac binary
Author
Owner

@konstantin1722 commented on GitHub (Oct 11, 2023):

@andr0s, Did you read ollama/docs/modelfile.md? This might be what you're looking for.

<!-- gh-comment-id:1757486220 --> @konstantin1722 commented on GitHub (Oct 11, 2023): @andr0s, Did you read `ollama/docs/modelfile.md`? This might be what you're looking for.
Author
Owner

@mchiang0610 commented on GitHub (Oct 11, 2023):

@andr0s You can do it via the modelfile or via API.

https://github.com/jmorganca/ollama/blob/main/docs/api.md

https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md

Let me know if this helps! Closing this for now. Thank you

<!-- gh-comment-id:1758288883 --> @mchiang0610 commented on GitHub (Oct 11, 2023): @andr0s You can do it via the modelfile or via API. https://github.com/jmorganca/ollama/blob/main/docs/api.md https://github.com/jmorganca/ollama/blob/main/docs/modelfile.md Let me know if this helps! Closing this for now. Thank you
Author
Owner

@andr0s commented on GitHub (Oct 12, 2023):

Oh ok got it, thanks. It's a bit confusing since some other AI tools allow specifying it via the command line. Maybe it could be a feature you guys can consider. Just a suggestion :) Besides that, I absolutely love how Ollama is user friendly and optimized. Good job!

<!-- gh-comment-id:1758959285 --> @andr0s commented on GitHub (Oct 12, 2023): Oh ok got it, thanks. It's a bit confusing since some other AI tools allow specifying it via the command line. Maybe it could be a feature you guys can consider. Just a suggestion :) Besides that, I absolutely love how Ollama is user friendly and optimized. Good job!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#62382