mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3736] [GUI] Can't put decimals into Expert mode Sampling Settings #1565
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1565
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @therealMKD on GitHub (Oct 22, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3736
Problem:
As a temporary fix to the currently un-resolved dumbness problem with the Qwen models, I was manually overriding the sampling settings to Qwen's recommended thinking settings. These are as follows:
However, when trying to use expert mode in the GUI to apply those settings, I am unable to set the Top-p value to .95, because the box will not let me use a decimal point, giving a
NaN(Not a Number) error instead.I AM able to go into JSON mode, and make the change, and saving those settings is accepted by the application.
Environment:
GUI version 0.2.2
Engine version 1.4.7
Windows 11, 26H2
13900K/5080/64GB DDR5
Reproduce:
Open GUI version 0.2.2, and load a model (In my case it is Qwen3.8-Flash-Next IQ3_XXS).
Open "Expert Mode", and scroll down to the Sampling options.
Attempt to apply Qwen's default recommended options, including
Top-p = 0.95.Observe that you are unable to put a decimal into the Top-p box, even though numbers less than 1 are valid Top-p values.
Expected:
I am able to apply a Top-p value of 0.95
Actual:
I cannot put a decimal point into the Top-p box.
Evidence:
As you can see in this video, it is impossible for me to type a period (".") in order to put a decimal into the Top-p box. Instead, I either get a
NaNerror, when only the decimal exists in the box, or I am simply unable to put the character in. (Later on, when I have a 9 in the box, I am repeatedly pressing the period key to try and insert a decimal point)https://github.com/user-attachments/assets/c2b8a3e7-b638-4b97-8161-66e29515068a
If I manually go into JSON mode, and edit from there, the box will allow .95 as a Top-p setting, but I can no longer touch anything.
Reproduction status:
Can reproduce consistently
@nawoa commented on GitHub (Oct 22, 2026):
Same. Can you post your edited JSON with working temperature, top-k, etc please?
@therealMKD commented on GitHub (Oct 22, 2026):
@nawoa Easier solution is this: Set temperature as 1, Top p as 1, and Top K as 20. Then go to the bottom, and press "save settings". Then go up to the start of the "Native Engine Settings" dropdown, and switch from "Parameters" to "JSON" mode. Scroll about halfway down to find the "Sampling" block. Replace the Top p value with
0.95and "Save Settings" again. You can now switch back to parameters mode.Tested this pretty much all day, and these settings seem to COMPLETELY FIX the dumbness issue that was introduced after 0.1.41. At least for me as well, this actually made my agent run much faster, probably because increasing the temperature eliminates looping. I estimate these settings gave me a speed increase of 2-3 times. Token speeds are unaffected, but it gets done with significantly less operations, with good results. No mistakes have been made since I edited the parameters, no tool calls have failed anymore either. (VScode, and Cline)
@nawoa commented on GitHub (Oct 23, 2026):
That worked, thanks.
@therealMKD commented on GitHub (Oct 23, 2026):
@nawoa Happy to help
@Niko1221 commented on GitHub (Oct 26, 2026):
Fixed in 0.2.5: the sampling fields in Expert mode take decimals such as 0.95 now. Please update; no need to use the JSON view any more.