| 1621 | 1621 | </div> |
| 1622 | 1622 | <div data-tg-type-mode="except" data-tg-type="generic" id="banned_tokens_block_ooba" class="wide100p"> |
| 1623 | 1623 | <hr class="width100p"> |
| 1624 | 1624 | <h4div class="range-block-title justifyCentertitle_restorable"> |
| 1625 | + <div> |
| 1626 | + <strong data-i18n="Banned Tokens">Banned Tokens/Strings</strong> |
| 1627 | + <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]LLaMA / Mistral / Yi models only" title="Enter sequences you don't want to appear in the output. Unquoted text will be tokenized in the back end and banned as tokens. [token ids] will be banned as-is. Most tokens have a leading space. Use token counter (with the correct tokenizer selected first!) if you are unsure. Enclose text in double quotes to ban the entire string as a set. Quoted Strings and [Token ids] must be on their own line."></div> |
| 1628 | + </div> |
| 1625 | 1629 | <label id="send_banned_tokens_label" for="send_banned_tokens_textgenerationwebui" class="checkbox_label"> |
| 1626 | 1630 | <input id="send_banned_tokens_textgenerationwebui" type="checkbox" style="display:none;" /> |
| 1627 | 1631 | <small><i class="fa-solid fa-power-off menu_button margin0"></i></small> |
| 1628 | 1632 | </label> |
| 1629 | | - <span data-i18n="Banned Tokens">Banned Tokens/Strings</span> |
| 1630 | | - <div class="margin5 fa-solid fa-circle-info opacity50p " data-i18n="[title]LLaMA / Mistral / Yi models only" title="Enter sequences you don't want to appear in the output. Unquoted text will be tokenized in the back end and banned as tokens. [token ids] will be banned as-is. Most tokens have a leading space. Use token counter (with the correct tokenizer selected first!) if you are unsure. Enclose text in double quotes to ban the entire string as a set. Quoted Strings and [Token ids] must be on their own line."></div> |
| 1631 | | - </h4> |
| 1632 | | - <div class="textAlignCenter"> |
| 1633 | | - <small data-i18n="Global list">Global list</small> |
| 1634 | 1633 | </div> |
| 1635 | 1634 | <div classid="wide100p marginBot10banned_tokens_controls_ooba"> |
| 1636 | | - <textarea id="global_banned_tokens_textgenerationwebui" class="text_pole textarea_compact" name="global_banned_tokens_textgenerationwebui" rows="3" data-i18n="[placeholder]Example: some text [42, 69, 1337]" placeholder='some text as tokens [420, 69, 1337] "Some verbatim string"'></textarea> |
| 1635 | + <div class="textAlignCenter"> |
| 1637 | | - </div> |
| 1636 | + <small data-i18n="Global list">Global list</small> |
| 1638 | | - <div class="textAlignCenter"> |
| 1637 | + </div> |
| 1639 | | - <small data-i18n="Preset-specific list">Preset-specific list</small> |
| 1638 | + <div class="wide100p marginBot10"> |
| 1640 | | - </div> |
| 1639 | + <textarea id="global_banned_tokens_textgenerationwebui" class="text_pole textarea_compact" name="global_banned_tokens_textgenerationwebui" rows="3" data-i18n="[placeholder]Example: some text [42, 69, 1337]" placeholder='some text as tokens [420, 69, 1337] "Some verbatim string"'></textarea> |
| 1641 | | - <div class="wide100p"> |
| 1640 | + </div> |
| 1642 | | - <textarea id="banned_tokens_textgenerationwebui" class="text_pole textarea_compact" name="banned_tokens_textgenerationwebui" rows="3" data-i18n="[placeholder]Example: some text [42, 69, 1337]" placeholder='some text as tokens [420, 69, 1337] "Some verbatim string"'></textarea> |
| 1641 | + <div class="textAlignCenter"> |
| 1642 | + <small data-i18n="Preset-specific list">Preset-specific list</small> |
| 1643 | + </div> |
| 1644 | + <div class="wide100p"> |
| 1645 | + <textarea id="banned_tokens_textgenerationwebui" class="text_pole textarea_compact" name="banned_tokens_textgenerationwebui" rows="3" data-i18n="[placeholder]Example: some text [42, 69, 1337]" placeholder='some text as tokens [420, 69, 1337] "Some verbatim string"'></textarea> |
| 1646 | + </div> |
| 1643 | 1647 | </div> |
| 1644 | 1648 | </div> |
| 1645 | 1649 | <div class="range-block wide100p"> |
| 1646 | 1650 | <div id="logit_bias_textgenerationwebui" class="range-block-title title_restorable"> |
| 1647 | 1651 | <spanstrong data-i18n="Logit Bias">Logit Bias</spanstrong> |
| 1648 | 1652 | <div id="textgen_logit_bias_new_entry" class="menu_button menu_button_icon"> |
| 1649 | 1653 | <i class="fa-xs fa-solid fa-plus"></i> |
| 1650 | 1654 | <small data-i18n="Add">Add</small> |