XTC for ooba

cd8dd5fc8a7e8a6421570128b6f0a7fe98a54a57

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +3 -1Showing whitespace changes
public/index.html+2 -1
@@ -1279,7 +1279,7 @@
12791279 </div>
12801280 </div>
12811281
12821282 <div data-newbie-hidden data-tg-type="koboldcpp,ooba" id="xtc_block" class="wide100p">
12831283 <h4 class="wide100p textAlignCenter">
12841284 <label data-i18n="Exclude Top Choices (XTC)">Exclude Top Choices (XTC)</label>
12851285 <a href="https://github.com/oobabooga/text-generation-webui/pull/6335" target="_blank">
@@ -1649,6 +1649,7 @@
16491649 <div data-name="top_a" draggable="true"><span>Top A</span><small></small></div>
16501650 <div data-name="min_p" draggable="true"><span>Min P</span><small></small></div>
16511651 <div data-name="mirostat" draggable="true"><span>Mirostat</span><small></small></div>
1652+ <div data-name="xtc" draggable="true"><span>XTC</span><small></small></div>
16521653 </div>
16531654 <div id="textgenerationwebui_default_order" class="menu_button menu_button_icon">
16541655 <span data-i18n="Load default order">Load default order</span>
public/scripts/textgen-settings.js+1 -0
@@ -80,6 +80,7 @@ const OOBA_DEFAULT_ORDER = [
8080 'top_a',
8181 'min_p',
8282 'mirostat',
83+ 'xtc',
8384];
8485const BIAS_KEY = '#textgenerationwebui_api-settings';
8586