[GH-ISSUE #13907] ollama gui 没有按钮设置temperature top_k top_k ? #9098

Open
opened 2026-04-12 21:56:56 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @loowace on GitHub (Jan 25, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/13907

我在命令行设置了temperature top_k top_k,但我不知道这些参数在gui是不是生效的?gui 没有按钮设置temperature top_k top_k ?

/show parameters
Model defined parameters:
stop "<|im_start|>"
stop "<|im_end|>"
stop "<|im_start|>user"

User defined parameters:
temperature 0
top_k 1
top_p 0.1

Originally created by @loowace on GitHub (Jan 25, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/13907 我在命令行设置了temperature top_k top_k,但我不知道这些参数在gui是不是生效的?gui 没有按钮设置temperature top_k top_k ? >>> /show parameters Model defined parameters: stop "<|im_start|>" stop "<|im_end|>" stop "<|im_start|>user" User defined parameters: temperature 0 top_k 1 top_p 0.1
GiteaMirror added the feature request label 2026-04-12 21:56:56 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 25, 2026):

The Ollama GUI currently doesn't have the ability to set parameters (other than context length). You can create a copy of the model that has those parameters set the next time the model is loaded.

$ ollama run qwen2.5:0.5b
>>> /set parameter temperature 0
Set parameter 'temperature' to '0'
>>> /save qwen2.5:0.5b-t0
Created new model 'qwen2.5:0.5b-t0'
>>> /bye
$ ollama run qwen2.5:0.5b-t0
>>> /show parameters
Model defined parameters:
  temperature                    0
<!-- gh-comment-id:3797108263 --> @rick-github commented on GitHub (Jan 25, 2026): The Ollama GUI currently doesn't have the ability to set parameters (other than context length). You can create a copy of the model that has those parameters set the next time the model is loaded. ```console $ ollama run qwen2.5:0.5b >>> /set parameter temperature 0 Set parameter 'temperature' to '0' >>> /save qwen2.5:0.5b-t0 Created new model 'qwen2.5:0.5b-t0' >>> /bye $ ollama run qwen2.5:0.5b-t0 >>> /show parameters Model defined parameters: temperature 0 ```
Author
Owner

@loowace commented on GitHub (Jan 26, 2026):

The Ollama GUI currently doesn't have the ability to set parameters (other than context length). You can create a copy of the model that has those parameters set the next time the model is loaded.Ollama 的图形界面目前无法设置参数(除了上下文长度)。你可以在下次加载模型时创建一个包含这些参数的模型副本。

$ ollama run qwen2.5:0.5b

/set parameter temperature 0
Set parameter 'temperature' to '0'
/save qwen2.5:0.5b-t0
Created new model 'qwen2.5:0.5b-t0'
/bye
$ ollama run qwen2.5:0.5b-t0
/show parameters
Model defined parameters:
temperature 0

我需要经常修改这些参数,我希望它能用gui实时修改,保存重新启动太麻烦了,命令行修改这些参数会在gui会话窗口同步生效吗?
emperature 0
top_k 1
top_p 0.1

<!-- gh-comment-id:3798201513 --> @loowace commented on GitHub (Jan 26, 2026): > The Ollama GUI currently doesn't have the ability to set parameters (other than context length). You can create a copy of the model that has those parameters set the next time the model is loaded.Ollama 的图形界面目前无法设置参数(除了上下文长度)。你可以在下次加载模型时创建一个包含这些参数的模型副本。 > > $ ollama run qwen2.5:0.5b > >>> /set parameter temperature 0 > Set parameter 'temperature' to '0' > >>> /save qwen2.5:0.5b-t0 > Created new model 'qwen2.5:0.5b-t0' > >>> /bye > $ ollama run qwen2.5:0.5b-t0 > >>> /show parameters > Model defined parameters: > temperature 0 我需要经常修改这些参数,我希望它能用gui实时修改,保存重新启动太麻烦了,命令行修改这些参数会在gui会话窗口同步生效吗? emperature 0 top_k 1 top_p 0.1
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#9098