remove beam search

fde76069e03ba990041642e6cf26096c13e09cfa

AlpinDale <alpindale@gmail.com>

2 files changed, +1 -5Showing whitespace changes
public/index.html+1 -1
@@ -1422,7 +1422,7 @@
1422 </div>1422 </div>
1423 <div class="">1423 <div class="">
1424 <label class="checkbox_label" for="early_stopping_textgenerationwebui">1424 <label class="checkbox_label" for="early_stopping_textgenerationwebui">
1425 <input type="checkbox" id="early_stopping_textgenerationwebui" checked="false" />1425 <input type="checkbox" id="early_stopping_textgenerationwebui" />
1426 <small data-i18n="Early Stopping">Early Stopping1426 <small data-i18n="Early Stopping">Early Stopping
1427 <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>1427 <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>
1428 </small>1428 </small>
public/scripts/textgen-settings.js+0 -4
@@ -1218,10 +1218,6 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
1218 'typical_p': settings.typical_p,1218 'typical_p': settings.typical_p,
1219 'smoothing_factor': settings.smoothing_factor,1219 'smoothing_factor': settings.smoothing_factor,
1220 'smoothing_curve': settings.smoothing_curve,1220 '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,
1225 'ignore_eos': settings.ignore_eos_token,1221 'ignore_eos': settings.ignore_eos_token,
1226 'min_tokens': settings.min_length,1222 'min_tokens': settings.min_length,
1227 'skip_special_tokens': settings.skip_special_tokens,1223 'skip_special_tokens': settings.skip_special_tokens,