Compare commits

...

4 Commits

Author SHA1 Message Date
kalomaze 1131a6a69e
Merge 182ebed1c1 into 1999f607d6 2024-05-15 10:20:07 +00:00
Cohee 1999f607d6 Set tainted flag metadata if a message was edited 2024-05-15 13:19:23 +03:00
kalomaze 182ebed1c1
Merge branch 'SillyTavern:release' into enable-lcpp-smooth 2024-04-09 19:31:46 -05:00
kalomaze 29fce4b419 Enable smooth sampling for llamacpp server 2024-04-02 22:34:02 -05:00
2 changed files with 3 additions and 1 deletions

View File

@ -1249,7 +1249,7 @@
<input class="neo-range-slider" type="range" id="max_tokens_second_textgenerationwebui" name="volume" min="0" max="20" step="1" />
<input class="neo-range-input" type="number" min="0" max="20" step="1" data-for="max_tokens_second_textgenerationwebui" id="max_tokens_second_counter_textgenerationwebui">
</div>
<div data-newbie-hidden data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby" name="smoothingBlock" class="wide100p">
<div data-newbie-hidden data-tg-type="mancer, ooba, koboldcpp, aphrodite, tabby, llamacpp" name="smoothingBlock" class="wide100p">
<h4 class="wide100p textAlignCenter">
<label data-i18n="Smooth Sampling">Smooth Sampling</label>
<div class=" fa-solid fa-circle-info opacity50p " data-i18n="[title]Smooth Sampling" title="Allows you to use quadratic/cubic transformations to adjust the distribution. Lower Smoothing Factor values will be more creative, usually between 0.2-0.3 is the sweetspot (assuming the curve = 1). Higher Smoothing Curve values will make the curve steeper, which will punish low probability choices more aggressively. 1.0 curve is equivalent to only using Smoothing Factor."></div>

View File

@ -6275,6 +6275,8 @@ function updateMessage(div) {
mes.extra.bias = null;
}
chat_metadata['tainted'] = true;
return { mesBlock, text, mes, bias };
}