Phi Instruct context+instruct presets

This commit is contained in:
Stefan Daniel Schwarz 2024-04-24 23:47:04 +02:00
parent 01e3964232
commit d34a0ee20e
3 changed files with 44 additions and 0 deletions

View File

@ -539,6 +539,10 @@
"filename": "presets/context/Llama 3 Instruct.json", "filename": "presets/context/Llama 3 Instruct.json",
"type": "context" "type": "context"
}, },
{
"filename": "presets/context/Phi.json",
"type": "context"
},
{ {
"filename": "presets/instruct/Adventure.json", "filename": "presets/instruct/Adventure.json",
"type": "instruct" "type": "instruct"
@ -631,6 +635,10 @@
"filename": "presets/instruct/Llama 3 Instruct.json", "filename": "presets/instruct/Llama 3 Instruct.json",
"type": "instruct" "type": "instruct"
}, },
{
"filename": "presets/instruct/Phi.json",
"type": "instruct"
},
{ {
"filename": "presets/moving-ui/Default.json", "filename": "presets/moving-ui/Default.json",
"type": "moving_ui" "type": "moving_ui"

View File

@ -0,0 +1,12 @@
{
"story_string": "<|system|>\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|>\n",
"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": "Phi"
}

View File

@ -0,0 +1,24 @@
{
"system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.",
"input_sequence": "<|user|>\n",
"output_sequence": "<|assistant|>\n",
"first_output_sequence": "",
"last_output_sequence": "",
"system_sequence_prefix": "",
"system_sequence_suffix": "",
"stop_sequence": "<|end|>",
"wrap": false,
"macro": true,
"names": true,
"names_force_groups": true,
"activation_regex": "",
"skip_examples": false,
"output_suffix": "<|end|>\n",
"input_suffix": "<|end|>\n",
"system_sequence": "<|system|>\n",
"system_suffix": "<|end|>\n",
"user_alignment_message": "",
"last_system_sequence": "",
"system_same_as_user": false,
"name": "Phi"
}