mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add instruct/context for Gemma 2
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
12
default/content/presets/context/Gemma 2.json
Normal file
12
default/content/presets/context/Gemma 2.json
Normal 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"
|
||||||
|
}
|
24
default/content/presets/instruct/Gemma 2.json
Normal file
24
default/content/presets/instruct/Gemma 2.json
Normal file
@@ -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"
|
||||||
|
}
|
Reference in New Issue
Block a user