Skip to content

Commit 9da4dc3

Browse files
committed
Enable DRY for koboldcpp
Enable DRY repetition penalty parameters for koboldcpp. This should only be merged after: LostRuins/koboldcpp#982
1 parent 93935e9 commit 9da4dc3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ <h4 class="wide100p textAlignCenter">
12921292
</div>
12931293
</div>
12941294
<!-- Enable for llama.cpp when the PR is merged: https://github.com/ggerganov/llama.cpp/pull/6839 -->
1295-
<div data-newbie-hidden data-tg-type="ooba" id="dryBlock" class="wide100p">
1295+
<div data-newbie-hidden data-tg-type="ooba, koboldcpp" id="dryBlock" class="wide100p">
12961296
<h4 class="wide100p textAlignCenter" title="DRY penalizes tokens that would extend the end of the input into a sequence that has previously occurred in the input. Set multiplier to 0 to disable." data-i18n="[title]DRY_Repetition_Penalty_desc">
12971297
<label data-i18n="DRY Repetition Penalty">DRY Repetition Penalty</label>
12981298
<a href="https://github.com/oobabooga/text-generation-webui/pull/5677" target="_blank">
@@ -1315,7 +1315,7 @@ <h4 class="wide100p textAlignCenter" title="DRY penalizes tokens that would exte
13151315
<input class="neo-range-slider" type="range" id="dry_allowed_length_textgenerationwebui" min="1" max="20" step="1" />
13161316
<input class="neo-range-input" type="number" min="1" max="20" step="1" data-for="dry_allowed_length_textgenerationwebui" id="dry_allowed_length_counter_textgenerationwebui">
13171317
</div>
1318-
<div class="alignItemsCenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0" data-tg-type="llamacpp">
1318+
<div class="alignItemsCenter flex-container flexFlowColumn flexBasis48p flexGrow flexShrink gap0" data-tg-type="llamacpp, koboldcpp">
13191319
<small data-i18n="Penalty Range">Penalty Range</small>
13201320
<input class="neo-range-slider" type="range" id="dry_penalty_last_n_textgenerationwebui" min="0" max="8192" step="1" />
13211321
<input class="neo-range-input" type="number" min="0" max="8192" step="1" data-for="dry_penalty_last_n_textgenerationwebui" id="dry_penalty_last_n_counter_textgenerationwebui">

0 commit comments

Comments
 (0)