Fix oobabooga API: add BOS token options, custom stopping string

This commit is contained in:
SillyLossy
2023-04-11 23:08:48 +03:00
parent 7277622c24
commit 415af67ea3
3 changed files with 15 additions and 0 deletions

View File

@ -23,6 +23,8 @@ let textgenerationwebui_settings = {
early_stopping: false,
seed: -1,
preset: 'Default',
add_bos_token: true,
custom_stopping_strings: [],
};
let textgenerationwebui_presets = [];
@ -43,6 +45,7 @@ const setting_names = [
"do_sample",
"early_stopping",
"seed",
"add_bos_token",
];
function selectPreset(name) {