remove beam search
| @@ -1422,7 +1422,7 @@ | ||
| 1422 | 1422 | </div> |
| 1423 | 1423 | <div class=""> |
| 1424 | 1424 | <label class="checkbox_label" for="early_stopping_textgenerationwebui"> |
| 1425 | 1425 | <input type="checkbox" id="early_stopping_textgenerationwebui" checked="false" /> |
| 1426 | 1426 | <small data-i18n="Early Stopping">Early Stopping |
| 1427 | 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 | 1428 | </small> |
| @@ -1218,10 +1218,6 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate, | ||
| 1218 | 1218 | 'typical_p': settings.typical_p, |
| 1219 | 1219 | 'smoothing_factor': settings.smoothing_factor, |
| 1220 | 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 | 1221 | 'ignore_eos': settings.ignore_eos_token, |
| 1226 | 1222 | 'min_tokens': settings.min_length, |
| 1227 | 1223 | 'skip_special_tokens': settings.skip_special_tokens, |