Compare commits

...
1 Commits
Author SHA1 Message Date
SillyLossy c617b7e7d5 Fix oobabooga's API (added encoder rep pen) 2023-03-16 10:46:00 +02:00
+2 -1
View File
@@ -1509,6 +1509,7 @@ $(document).ready(function () {
textgenerationwebui_settings.top_p, // top_p
textgenerationwebui_settings.typical_p, // typical_p
textgenerationwebui_settings.rep_pen, // repetition_penalty
1.0, // encoder rep pen
textgenerationwebui_settings.top_k, // top_k
0, // min_length
textgenerationwebui_settings.rep_pen_size, // no_repeat_ngram_size
@@ -1584,7 +1585,7 @@ $(document).ready(function () {
} else if (main_api == 'textgenerationwebui') {
getMessage = data.data[0];
if (getMessage == null || data.error) {
popup_type = 'default';
popup_type = 'text';
callPopup('<h3>Got empty response from Text generation web UI. Try restarting the API with recommended options.</h3>');
return;
}