remove beam search

fde76069e03ba990041642e6cf26096c13e09cfa

AlpinDale <alpindale@gmail.com>

2 files changed, +1 -5Showing whitespace changes
public/index.html+1 -1
@@ -1422,7 +1422,7 @@
14221422 </div>
14231423 <div class="">
14241424 <label class="checkbox_label" for="early_stopping_textgenerationwebui">
14251425 <input type="checkbox" id="early_stopping_textgenerationwebui" checked="false" />
14261426 <small data-i18n="Early Stopping">Early Stopping
14271427 <div class="fa-solid fa-circle-info opacity50p" data-i18n="[title]Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates." title="Controls the stopping condition for beam search. If checked, the generation stops as soon as there are '# of Beams' sequences. If not checked, a heuristic is applied and the generation is stopped when it's very unlikely to find better candidates."></div>
14281428 </small>
public/scripts/textgen-settings.js+0 -4
@@ -1218,10 +1218,6 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
12181218 'typical_p': settings.typical_p,
12191219 'smoothing_factor': settings.smoothing_factor,
12201220 'smoothing_curve': settings.smoothing_curve,
1221- 'use_beam_search': settings.use_beam_search,
1222- 'best_of': settings.num_beams > 1 ? settings.num_beams : settings.n,
1223- 'length_penalty': settings.length_penalty,
1224- 'early_stopping': settings.early_stopping,
12251221 'ignore_eos': settings.ignore_eos_token,
12261222 'min_tokens': settings.min_length,
12271223 'skip_special_tokens': settings.skip_special_tokens,