diff --git a/default/content/index.json b/default/content/index.json index 06c927d4d..73c869a20 100644 --- a/default/content/index.json +++ b/default/content/index.json @@ -539,6 +539,10 @@ "filename": "presets/context/Llama 3 Instruct.json", "type": "context" }, + { + "filename": "presets/context/Phi.json", + "type": "context" + }, { "filename": "presets/instruct/Adventure.json", "type": "instruct" @@ -631,6 +635,10 @@ "filename": "presets/instruct/Llama 3 Instruct.json", "type": "instruct" }, + { + "filename": "presets/instruct/Phi.json", + "type": "instruct" + }, { "filename": "presets/moving-ui/Default.json", "type": "moving_ui" diff --git a/default/content/presets/context/Phi.json b/default/content/presets/context/Phi.json new file mode 100644 index 000000000..2eb7a98d8 --- /dev/null +++ b/default/content/presets/context/Phi.json @@ -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" +} \ No newline at end of file diff --git a/default/content/presets/instruct/Phi.json b/default/content/presets/instruct/Phi.json new file mode 100644 index 000000000..79c320cab --- /dev/null +++ b/default/content/presets/instruct/Phi.json @@ -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" +} \ No newline at end of file