diff --git a/modules/models_settings.py b/modules/models_settings.py index 6b22499e..bea5b4d6 100644 --- a/modules/models_settings.py +++ b/modules/models_settings.py @@ -23,7 +23,6 @@ def get_fallback_settings(): 'truncation_length': shared.settings['truncation_length'], 'truncation_length_info': shared.settings['truncation_length'], 'skip_special_tokens': shared.settings['skip_special_tokens'], - 'custom_stopping_strings': shared.settings['custom_stopping_strings'], } diff --git a/user_data/models/config.yaml b/user_data/models/config.yaml index 8521c4c6..038ebcf1 100644 --- a/user_data/models/config.yaml +++ b/user_data/models/config.yaml @@ -33,18 +33,14 @@ skip_special_tokens: false .*alpaca-native-4bit: instruction_template: 'Alpaca' - custom_stopping_strings: '"### End"' .*llava: instruction_template: 'LLaVA' - custom_stopping_strings: '"\n###"' .*llava.*1.5: instruction_template: 'Vicuna-v1.1' .*wizard.*mega: instruction_template: 'Wizard-Mega' - custom_stopping_strings: '""' .*starchat-beta: instruction_template: 'Starchat-Beta' - custom_stopping_strings: '"<|end|>"' (?!.*v0)(?!.*1.1)(?!.*1_1)(?!.*stable)(?!.*chinese).*vicuna: instruction_template: 'Vicuna-v0' .*vicuna.*v0: @@ -151,7 +147,6 @@ instruction_template: 'Alpaca' .*(openorca-platypus2): instruction_template: 'OpenOrca-Platypus2' - custom_stopping_strings: '"### Instruction:", "### Response:"' .*longchat: instruction_template: 'Vicuna-v1.1' .*vicuna-33b: