Increase Top K max value from 200 to 500 for text generation WebUI (#5474) Raises the maximum allowed Top K sampling parameter from 200 to 500 in both the range slider and number input controls to support higher token selection limits.

4003251c2fda71f94a58760a12126330a0d60096

Wolfsblvt <wolfsblvt@gmail.com>

Signed
1 files changed, +2 -2Ignore whitespace
public/index.html+2 -2
@@ -1269,8 +1269,8 @@
12691269 <span data-i18n="Top K">Top K</span>
12701270 <div class="fa-solid fa-circle-info opacity50p" title="Top K sets a maximum amount of top tokens that can be chosen from.&#13;E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited).&#13;Set to 0 (or -1, depending on your backend) to disable." data-i18n="[title]Top_K_desc"></div>
12711271 </small>
12721272 <input class="neo-range-slider" type="range" id="top_k_textgenerationwebui" name="volume" min="-1" max="200500" step="1">
12731273 <input class="neo-range-input" type="number" min="-1" max="200500" step="1" data-for="top_k_textgenerationwebui" id="top_k_counter_textgenerationwebui">
12741274 </div>
12751275 <div data-tg-samplers="top_p" class="alignitemscenter flex-container flexFlowColumn flexBasis30p flexGrow flexShrink gap0">
12761276 <small>