diff --git a/public/index.html b/public/index.html
index 016147616..9b22d6ee5 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1244,6 +1244,11 @@
+
+ Skew
+
+
+
Min Length
diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js
index 0e647269c..464fb4adb 100644
--- a/public/scripts/power-user.js
+++ b/public/scripts/power-user.js
@@ -746,7 +746,8 @@ async function CreateZenSliders(elmnt) {
sliderID == 'rep_pen_slope' ||
sliderID == 'smoothing_factor_textgenerationwebui' ||
sliderID == 'smoothing_curve_textgenerationwebui' ||
- sliderID == 'min_length_textgenerationwebui') {
+ sliderID == 'min_length_textgenerationwebui' ||
+ sliderID == 'skew_textgenerationwebui') {
offVal = 0;
}
if (sliderID == 'rep_pen_textgenerationwebui' ||
diff --git a/public/scripts/textgen-settings.js b/public/scripts/textgen-settings.js
index 569597f60..100ceb20f 100644
--- a/public/scripts/textgen-settings.js
+++ b/public/scripts/textgen-settings.js
@@ -108,6 +108,7 @@ const settings = {
encoder_rep_pen: 1,
freq_pen: 0,
presence_pen: 0,
+ skew: 0,
do_sample: true,
early_stopping: false,
dynatemp: false,
@@ -195,6 +196,7 @@ export const setting_names = [
'encoder_rep_pen',
'freq_pen',
'presence_pen',
+ 'skew',
'do_sample',
'early_stopping',
'seed',
@@ -658,6 +660,7 @@ jQuery(function () {
'encoder_rep_pen_textgenerationwebui': 1,
'freq_pen_textgenerationwebui': 0,
'presence_pen_textgenerationwebui': 0,
+ 'skew_textgenerationwebui': 0,
'no_repeat_ngram_size_textgenerationwebui': 0,
'speculative_ngram_textgenerationwebui': false,
'min_length_textgenerationwebui': 0,
@@ -1017,6 +1020,7 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
'frequency_penalty': settings.freq_pen,
'presence_penalty': settings.presence_pen,
'top_k': settings.top_k,
+ 'skew': settings.skew,
'min_length': settings.type === OOBA ? settings.min_length : undefined,
'minimum_message_content_tokens': settings.type === DREAMGEN ? settings.min_length : undefined,
'min_tokens': settings.min_length,