Increase default context cap for Kobold and ooba to 4k

This commit is contained in:
Cohee1207 2023-07-21 23:47:43 +03:00
parent bc6e46bac8
commit 7205255d18
2 changed files with 4 additions and 5 deletions

View File

@ -201,7 +201,7 @@
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="max_context" name="volume" min="512" max="2048" step="1">
<input type="range" id="max_context" name="volume" min="512" max="4096" step="1">
</div>
<div class="range-block-counter" data-randomization-disabled="true">
<div contenteditable="true" data-for="max_context" id="max_context_counter">
@ -217,10 +217,9 @@
<span data-i18n="unlocked">Unlocked</span>
</label>
<div id="max_context_unlocked_warning">
<b class="neutral_warning" data-i18n="ATTENTION!">ATTENTION!</b>
<span data-i18n="only select modls support context sizes greater than 2048 tokens. proceed only is you know you're doing">
Only select models support context sizes greater than 2048 tokens.
Proceed only if you know what you're doing.
Increase only if you know what you're doing.
</span>
</div>
</div>
@ -266,7 +265,7 @@
</div>
<div class="range-block-range-and-counter">
<div class="range-block-range">
<input type="range" id="rep_pen_range" name="volume" min="0" max="2048" step="1">
<input type="range" id="rep_pen_range" name="volume" min="0" max="4096" step="1">
</div>
<div class="range-block-counter">
<div contenteditable="true" data-for="rep_pen_range" id="rep_pen_range_counter">

View File

@ -43,7 +43,7 @@ export {
send_on_enter_options,
};
const MAX_CONTEXT_DEFAULT = 2048;
const MAX_CONTEXT_DEFAULT = 4096;
const MAX_CONTEXT_UNLOCKED = 65536;
const avatar_styles = {