mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Ooba new setting
This commit is contained in:
@ -245,16 +245,6 @@
|
|||||||
<span id="min_length_counter_textgenerationwebui">select</span>
|
<span id="min_length_counter_textgenerationwebui">select</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="range-block">
|
|
||||||
<label class="checkbox_label" for="do_sample_textgenerationwebui">
|
|
||||||
<input type="checkbox" id="do_sample_textgenerationwebui" />
|
|
||||||
Do Sample
|
|
||||||
</label>
|
|
||||||
<label class="checkbox_label" for="add_bos_token_textgenerationwebui" title="Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative.">
|
|
||||||
<input type="checkbox" id="add_bos_token_textgenerationwebui" />
|
|
||||||
Add BOS Token
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="range_block_openai">
|
<div id="range_block_openai">
|
||||||
<div class="range-block">
|
<div class="range-block">
|
||||||
@ -544,6 +534,30 @@
|
|||||||
<span id="typical_p_counter_textgenerationwebui">select</span>
|
<span id="typical_p_counter_textgenerationwebui">select</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="range-block">
|
||||||
|
<label class="checkbox_label" for="do_sample_textgenerationwebui">
|
||||||
|
<input type="checkbox" id="do_sample_textgenerationwebui" />
|
||||||
|
Do Sample
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
<div class="range-block">
|
||||||
|
<label class="checkbox_label" for="add_bos_token_textgenerationwebui">
|
||||||
|
<input type="checkbox" id="add_bos_token_textgenerationwebui" />
|
||||||
|
Add BOS Token
|
||||||
|
</label>
|
||||||
|
<div class="range-block-counter justifyLeft">
|
||||||
|
Add the bos_token to the beginning of prompts. Disabling this can make the replies more creative.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="range-block">
|
||||||
|
<label class="checkbox_label" for="ban_eos_token_textgenerationwebui">
|
||||||
|
<input type="checkbox" id="ban_eos_token_textgenerationwebui" />
|
||||||
|
Ban EOS Token
|
||||||
|
</label>
|
||||||
|
<div class="range-block-counter justifyLeft">
|
||||||
|
Ban the eos_token. This forces the model to never end the generation prematurely.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
<h4>Beam search</h4>
|
<h4>Beam search</h4>
|
||||||
<div class="range-block">
|
<div class="range-block">
|
||||||
@ -591,13 +605,8 @@
|
|||||||
<div class="range-block-title">
|
<div class="range-block-title">
|
||||||
Seed
|
Seed
|
||||||
</div>
|
</div>
|
||||||
<div class="range-block-range">
|
|
||||||
<input type="number" id="seed_textgenerationwebui" class="text_pole" />
|
<input type="number" id="seed_textgenerationwebui" class="text_pole" />
|
||||||
</div>
|
</div>
|
||||||
<div style="display: none" class="range-block-counter">
|
|
||||||
<span id="seed_counter_textgenerationwebui">select</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="openai_settings">
|
<div id="openai_settings">
|
||||||
<div class="">
|
<div class="">
|
||||||
@ -731,8 +740,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="sys-settings-button" class="drawer" style="z-index:3001;">
|
<div id="sys-settings-button" class="drawer" style="z-index:3001;">
|
||||||
<div class="drawer-toggle drawer-header">
|
<div class="drawer-toggle drawer-header">
|
||||||
<div id="API-status-top" class="drawer-icon icon-api closedIcon" title="API Connections"></div>
|
<div id="API-status-top" class="drawer-icon icon-api closedIcon" title="API Connections"></div>
|
||||||
@ -979,9 +986,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div id="WI-SP-button" class="drawer" style="z-index:3003;">
|
<div id="WI-SP-button" class="drawer" style="z-index:3003;">
|
||||||
<div class="drawer-toggle drawer-header">
|
<div class="drawer-toggle drawer-header">
|
||||||
<div class="drawer-icon icon-globe closedIcon " title="World Info & Soft Prompts"></div>
|
<div class="drawer-icon icon-globe closedIcon " title="World Info & Soft Prompts"></div>
|
||||||
@ -1706,10 +1710,10 @@
|
|||||||
<div class="ch_name">
|
<div class="ch_name">
|
||||||
<span class="name_text">${characterName}</span>
|
<span class="name_text">${characterName}</span>
|
||||||
|
|
||||||
<div title="Edit" class="mes_edit"></div>
|
|
||||||
<div title="Stop Streaming" class="mes_stop">
|
<div title="Stop Streaming" class="mes_stop">
|
||||||
<i class="fa-xl fa-solid fa-circle-stop"></i>
|
<i class="fa-xl fa-solid fa-circle-stop"></i>
|
||||||
</div>
|
</div>
|
||||||
|
<div title="Edit" class="mes_edit"></div>
|
||||||
<div class="mes_edit_buttons">
|
<div class="mes_edit_buttons">
|
||||||
<div class="mes_edit_done menu_button" title="Confirm">
|
<div class="mes_edit_done menu_button" title="Confirm">
|
||||||
<img alt="" class="svg_icon" src="img/check-solid.svg">
|
<img alt="" class="svg_icon" src="img/check-solid.svg">
|
||||||
|
@ -51,6 +51,7 @@ const setting_names = [
|
|||||||
"early_stopping",
|
"early_stopping",
|
||||||
"seed",
|
"seed",
|
||||||
"add_bos_token",
|
"add_bos_token",
|
||||||
|
"ban_eos_token",
|
||||||
];
|
];
|
||||||
|
|
||||||
function selectPreset(name) {
|
function selectPreset(name) {
|
||||||
|
Reference in New Issue
Block a user