Kobold tooltips for samplers + temp

This commit is contained in:
kalomaze 2023-11-05 13:47:53 -06:00
parent da4c88f7ec
commit 5d77a60939
1 changed files with 36 additions and 13 deletions

View File

@ -273,17 +273,21 @@
<div class="range-block">
<div class="range-block-title" data-i18n="temperature">
Temperature
</div>
<a href="#" class="notes-link" title="Temperature controls the randomness in token selection: a lower temperature (<1.0) leads to more predictable text, favoring higher probability tokens, while a higher temperature (>1.0) increases creativity and diversity in the output by giving lower probability tokens a better chance. Set to 1.0 for the original probabilities.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="temp" name="volume" min="0.0" max="2.0" step="0.01">
</div>
<div class="range-block-counter">
<input type="number" min="0.0" max="2.0" step="0.01" data-for="temp" id="temp_counter">
</div>
</div>
</div>
<hr>
<h4 data-i18n="Repetition Penalty Settings">Repetition Penalty Settings</h4>
<div class="range-block">
<div class="range-block-title" data-i18n="rep.pen">
Repetition Penalty
@ -327,6 +331,7 @@
</div>
</div>
</div>
<hr>
<div id="range_block_novel">
<div class="range-block">
<label class="checkbox_label widthFreeExpand">
@ -343,7 +348,7 @@
</div>
<div class="range-block">
<div class="range-block-title" data-i18n="temperature">
Temperature
Temperature novel
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
@ -855,7 +860,10 @@
<div class="range-block">
<div class="range-block-title" data-i18n="Top P">
Top P
</div>
<a href="#" class="notes-link" title="Top P adds up all the top tokens required to add up to the target percentage. E.g Top 2 tokens are both 25%, and Top P is 0.50, only the Top 2 tokens are considered. Set to 1.0 to disable.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="top_p" name="volume" min="0" max="1" step="0.01">
@ -869,7 +877,10 @@
<div class="range-block">
<div class="range-block-title" data-i18n="Min P">
Min P
</div>
<a href="#" class="notes-link" title="Min P sets a base minimum probability. This is scaled according to the top token's probability. E.g If Top token is 80% probability, and Min P is 0.1, only tokens higher than 8% would be considered. Set to 0 to disable.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="min_p" name="volume" min="0" max="1" step="0.01">
@ -883,7 +894,10 @@
<div class="range-block">
<div class="range-block-title" data-i18n="Top A">
Top A
</div>
<a href="#" class="notes-link" title="Top A sets a threshold for token selection based on the square of the highest token probability. E.g if the Top-A value is 0.2 and the top token's probability is 50%, tokens with probabilities below 5% (0.2 * 0.5^2) are excluded. Set to 0 to disable.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="top_a" name="volume" min="0" max="1" step="0.01">
@ -897,7 +911,10 @@
<div class="range-block">
<div class="range-block-title" data-i18n="Top K">
Top K
</div>
<a href="#" class="notes-link" title="Top K sets a maximum amount of top tokens that can be chosen from. E.g Top K is 20, this means only the 20 highest ranking tokens will be kept (regardless of their probabilities being diverse or limited). Set to 0 to disable.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="top_k" name="volume" min="0" max="100" step="1">
@ -911,7 +928,10 @@
<div class="range-block">
<div class="range-block-title" data-i18n="Typical Sampling">
Typical Sampling
</div>
<a href="#" class="notes-link" title="Typical Sampling prioritizes tokens based on their deviation from the average entropy of the set. It maintains tokens whose cumulative probability is close to a predefined threshold (e.g., 0.5), emphasizing those with average information content. Set to 1.0 to disable.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="typical" name="volume" min="0" max="1" step="0.01">
@ -922,11 +942,14 @@
</div>
</div>
</div>
<div class="range-block">
<div class="range-block-title" data-i18n="Tail Free Sampling">
Tail Free Sampling
</div>
<div class="range-block-range-and-counter">
<div class="range-block">
<div class="range-block-title" data-i18n="Tail Free Sampling">
Tail Free Sampling
<a href="#" class="notes-link" title="Tail-Free Sampling (TFS) analyzes the rate of change in token probabilities using derivatives. It retains tokens up to a threshold (e.g., 0.3) based on the normalized second derivative. Set to 1.0 to disable.">
<span class="fa-solid fa-circle-question note-link-span"></span>
</a>
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="tfs" name="volume" min="0" max="1" step="0.01">
</div>