#1325 Increase precision for Novel typical sampler
This commit is contained in:
parent
fb5fa8de7c
commit
2018a6d94a
|
@ -1177,10 +1177,10 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="range-block-range-and-counter">
|
<div class="range-block-range-and-counter">
|
||||||
<div class="range-block-range">
|
<div class="range-block-range">
|
||||||
<input type="range" id="typical_p_novel" name="volume" min="0" max="1" step="0.01">
|
<input type="range" id="typical_p_novel" name="volume" min="0" max="1" step="0.001">
|
||||||
</div>
|
</div>
|
||||||
<div class="range-block-counter">
|
<div class="range-block-counter">
|
||||||
<input type="number" min="0" max="1" step="0.01" data-for="typical_p_novel" id="typical_p_counter_novel">
|
<input type="number" min="0" max="1" step="0.001" data-for="typical_p_novel" id="typical_p_counter_novel">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -196,7 +196,7 @@ function loadNovelSettingsUi(ui_settings) {
|
||||||
$("#top_a_novel").val(ui_settings.top_a);
|
$("#top_a_novel").val(ui_settings.top_a);
|
||||||
$("#top_a_counter_novel").val(Number(ui_settings.top_a).toFixed(3));
|
$("#top_a_counter_novel").val(Number(ui_settings.top_a).toFixed(3));
|
||||||
$("#typical_p_novel").val(ui_settings.typical_p);
|
$("#typical_p_novel").val(ui_settings.typical_p);
|
||||||
$("#typical_p_counter_novel").val(Number(ui_settings.typical_p).toFixed(2));
|
$("#typical_p_counter_novel").val(Number(ui_settings.typical_p).toFixed(3));
|
||||||
$("#cfg_scale_novel").val(ui_settings.cfg_scale);
|
$("#cfg_scale_novel").val(ui_settings.cfg_scale);
|
||||||
$("#cfg_scale_counter_novel").val(Number(ui_settings.cfg_scale).toFixed(2));
|
$("#cfg_scale_counter_novel").val(Number(ui_settings.cfg_scale).toFixed(2));
|
||||||
$("#phrase_rep_pen_novel").val(ui_settings.phrase_rep_pen || "off");
|
$("#phrase_rep_pen_novel").val(ui_settings.phrase_rep_pen || "off");
|
||||||
|
@ -280,8 +280,8 @@ const sliders = [
|
||||||
{
|
{
|
||||||
sliderId: "#typical_p_novel",
|
sliderId: "#typical_p_novel",
|
||||||
counterId: "#typical_p_counter_novel",
|
counterId: "#typical_p_counter_novel",
|
||||||
format: (val) => Number(val).toFixed(2),
|
format: (val) => Number(val).toFixed(3),
|
||||||
setValue: (val) => { nai_settings.typical_p = Number(val).toFixed(2); },
|
setValue: (val) => { nai_settings.typical_p = Number(val).toFixed(3); },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
sliderId: "#mirostat_tau_novel",
|
sliderId: "#mirostat_tau_novel",
|
||||||
|
|
Loading…
Reference in New Issue