clarify some descriptions

This commit is contained in:
Concedo 2024-04-28 15:16:02 +08:00
parent f6ab0f873f
commit 8faa6ed84d

View file

@ -13386,7 +13386,7 @@ Current version: 136
</tr>`;
let regextable = document.getElementById("placeholder_replace_table");
let hardcoded1 = ["{{user}}","{{char}}","\\n{{[INPUT]}}\\n","\\n{{[OUTPUT]}}\\n"];
let hardcoded1 = ["{{user}}","{{char}}","{{[INPUT]}}","{{[OUTPUT]}}"];
let hardcoded2 = [localsettings.chatname,localsettings.chatopponent,localsettings.instruct_starttag,localsettings.instruct_endtag];
for(let i=0;i<hardcoded1.length;++i)
@ -15557,13 +15557,13 @@ Current version: 136
</div>
</div>
<div style="padding:3px;" class="justifyleft settinglabel">Token Bans <span class="helpicon">?<span
<div style="padding:3px;" class="justifyleft settinglabel">Token Filter <span class="helpicon">?<span
class="helptext">Outright removal for ANY tokens containing a specific substring from model vocab. If you want multiple sequences, separate them with the following delimiter: ||$||</span></span>
<button type="button" class="btn btn-primary" style="font-size:12px;padding:2px 2px;" onclick="expand_tokens_section('expandtokenbans')">Expand Section</button>
</div>
<div id="expandtokenbans" class="hidden">
<div class="color_red hidden" id="notokenbans">Token bans may be unavailable.</div>
<div style="color:#ffffff;">Outright removal for ANY tokens containing a specific substring from model vocab. If you want multiple sequences, separate them with the following delimiter: ||$||<br></div>
<div class="color_red hidden" id="notokenbans">Token filter may be unavailable.</div>
<div style="color:#ffffff;">Outright removal for ANY tokens containing a specific substring from model vocab. If you want multiple sequences, separate them with the following delimiter: ||$||<br><em>Note: If you're trying to ban a specific token ID, you should use Logit Bias instead!</em><br></div>
<div style="display: flex; column-gap: 4px; margin-bottom: 4px;">
<input class="form-control stopseqbox inlineinput" type="text" placeholder="None" value="" id="tokenbans">
<button type="button" class="btn btn-primary" style="width:90px;padding:6px 6px;" onclick="add_token_ban()">Add New</button>