Add instruct/context for Gemma 2 (#2477)
* Add instruct/context for Gemma 2
* Add Gemma 2 Roleplay variation
* Revert "Add Gemma 2 Roleplay variation"
This reverts commit d1473e18a1
.
This commit is contained in:
parent
66c4824a8a
commit
13630c896a
|
@ -678,5 +678,13 @@
|
||||||
{
|
{
|
||||||
"filename": "presets/context/ChatML-Names.json",
|
"filename": "presets/context/ChatML-Names.json",
|
||||||
"type": "context"
|
"type": "context"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "presets/context/Gemma 2.json",
|
||||||
|
"type": "context"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "presets/instruct/Gemma 2.json",
|
||||||
|
"type": "instruct"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
"system_prompt": "Continue writing this story and portray characters realistically.",
|
||||||
|
"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": false,
|
||||||
|
"names_force_groups": false,
|
||||||
|
"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"
|
||||||
|
}
|
Loading…
Reference in New Issue