diff --git a/default/content/index.json b/default/content/index.json index de5316875..a958e51d8 100644 --- a/default/content/index.json +++ b/default/content/index.json @@ -686,5 +686,13 @@ { "filename": "presets/instruct/Gemma 2.json", "type": "instruct" + }, + { + "filename": "presets/context/Gemma 2-Roleplay.json", + "type": "context" + }, + { + "filename": "presets/instruct/Gemma 2-Roleplay.json", + "type": "instruct" } ] diff --git a/default/content/presets/context/Gemma 2-Roleplay.json b/default/content/presets/context/Gemma 2-Roleplay.json new file mode 100644 index 000000000..a5885f62a --- /dev/null +++ b/default/content/presets/context/Gemma 2-Roleplay.json @@ -0,0 +1,12 @@ +{ + "story_string": "user\n{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}{{trim}}", + "example_separator": "", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Gemma 2-Roleplay" +} \ No newline at end of file diff --git a/default/content/presets/instruct/Gemma 2-Roleplay.json b/default/content/presets/instruct/Gemma 2-Roleplay.json new file mode 100644 index 000000000..10d6e1f1e --- /dev/null +++ b/default/content/presets/instruct/Gemma 2-Roleplay.json @@ -0,0 +1,24 @@ +{ + "system_prompt": "Engage in roleplay as {{char}} based on the setting below. I will be acting as {{user}}. Actively drive the scene, taking actions that are consistent with the character you are portraying. Treat any of my actions as opportunities to advance the plot, escalate situations, or even initiate actions against my character without explicit instructions. Maintain a high level of descriptive detail.", + "input_sequence": "user", + "output_sequence": "model", + "last_output_sequence": "", + "system_sequence": "system", + "stop_sequence": "", + "wrap": true, + "macro": true, + "names": true, + "names_force_groups": true, + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "\n", + "input_suffix": "\n", + "system_suffix": "\n", + "user_alignment_message": "", + "system_same_as_user": true, + "last_system_sequence": "", + "name": "Gemma 2-Roleplay" +} \ No newline at end of file