Add Gemma 2 Roleplay variation

This commit is contained in:
Cohee 2024-07-05 23:00:39 +03:00
parent f1b2fa6501
commit d1473e18a1
3 changed files with 44 additions and 0 deletions

View File

@ -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"
}
]

View File

@ -0,0 +1,12 @@
{
"story_string": "<start_of_turn>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}}<end_of_turn>",
"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"
}

View File

@ -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": "<start_of_turn>user",
"output_sequence": "<start_of_turn>model",
"last_output_sequence": "",
"system_sequence": "<start_of_turn>system",
"stop_sequence": "<end_of_turn>",
"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": "<end_of_turn>\n",
"input_suffix": "<end_of_turn>\n",
"system_suffix": "<end_of_turn>\n",
"user_alignment_message": "",
"system_same_as_user": true,
"last_system_sequence": "",
"name": "Gemma 2-Roleplay"
}