From 4f58e04ef3e89433a93045e37a4fdeec2ba9207e Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Thu, 28 Mar 2024 22:40:43 +0200 Subject: [PATCH] Move default instruct/context templates out of public --- .../content/presets/context/Adventure.json | 12 +++++++++ .../presets/context/Alpaca-Roleplay.json | 12 +++++++++ .../presets/context/Alpaca-Single-Turn.json | 12 +++++++++ default/content/presets/context/ChatML.json | 12 +++++++++ default/content/presets/context/Default.json | 12 +++++++++ .../context/DreamGen Role-Play V1.json | 12 +++++++++ .../content/presets/context/Libra-32B.json | 12 +++++++++ .../presets/context/Lightning 1.1.json | 12 +++++++++ .../content/presets/context/Minimalist.json | 12 +++++++++ default/content/presets/context/Mistral.json | 12 +++++++++ default/content/presets/context/NovelAI.json | 12 +++++++++ .../content/presets/context/OldDefault.json | 12 +++++++++ .../content/presets/context/Pygmalion.json | 12 +++++++++ default/content/presets/context/Story.json | 12 +++++++++ .../context/simple-proxy-for-tavern.json | 12 +++++++++ .../content/presets}/instruct/Adventure.json | 7 ++++- .../presets}/instruct/Alpaca-Roleplay.json | 20 +++++++++----- .../presets}/instruct/Alpaca-Single-Turn.json | 14 +++++++--- .../content/presets}/instruct/Alpaca.json | 20 +++++++++----- default/content/presets/instruct/ChatML.json | 23 ++++++++++++++++ .../instruct/DreamGen Role-Play V1.json | 19 +++++++++----- .../content/presets}/instruct/Koala.json | 20 +++++++++----- .../content/presets}/instruct/Libra-32B.json | 22 ++++++++++------ .../presets}/instruct/Lightning 1.1.json | 23 +++++++++------- .../presets/instruct/Llama 2 Chat.json | 23 ++++++++++++++++ .../content/presets}/instruct/Metharme.json | 20 +++++++++----- .../content/presets}/instruct/Mistral.json | 24 ++++++++++------- .../presets}/instruct/OpenOrca-OpenChat.json | 24 ++++++++++------- .../content/presets}/instruct/Pygmalion.json | 20 +++++++++----- .../content/presets}/instruct/Story.json | 7 ++++- .../content/presets}/instruct/Synthia.json | 24 ++++++++++------- .../content/presets}/instruct/Vicuna 1.0.json | 20 +++++++++----- .../content/presets}/instruct/Vicuna 1.1.json | 20 +++++++++----- .../presets}/instruct/WizardLM-13B.json | 20 +++++++++----- .../content/presets}/instruct/WizardLM.json | 20 +++++++++----- .../instruct/simple-proxy-for-tavern.json | 26 ++++++++++++------- public/context/Adventure.json | 2 ++ public/context/Alpaca-Roleplay.json | 12 ++++++--- public/context/Alpaca-Single-Turn.json | 1 + public/context/ChatML.json | 12 ++++++--- public/context/Default.json | 12 ++++++--- public/context/DreamGen Role-Play V1.json | 1 + public/context/Libra-32B.json | 8 +++++- public/context/Lightning 1.1.json | 10 +++++-- public/context/Minimalist.json | 12 ++++++--- public/context/Mistral.json | 8 +++++- public/context/NovelAI.json | 10 +++++-- public/context/OldDefault.json | 8 +++++- public/context/Pygmalion.json | 12 ++++++--- public/context/Story.json | 8 +++++- public/context/simple-proxy-for-tavern.json | 12 ++++++--- public/instruct/ChatML.json | 17 ------------ public/instruct/Llama 2 Chat.json | 17 ------------ 53 files changed, 568 insertions(+), 190 deletions(-) create mode 100644 default/content/presets/context/Adventure.json create mode 100644 default/content/presets/context/Alpaca-Roleplay.json create mode 100644 default/content/presets/context/Alpaca-Single-Turn.json create mode 100644 default/content/presets/context/ChatML.json create mode 100644 default/content/presets/context/Default.json create mode 100644 default/content/presets/context/DreamGen Role-Play V1.json create mode 100644 default/content/presets/context/Libra-32B.json create mode 100644 default/content/presets/context/Lightning 1.1.json create mode 100644 default/content/presets/context/Minimalist.json create mode 100644 default/content/presets/context/Mistral.json create mode 100644 default/content/presets/context/NovelAI.json create mode 100644 default/content/presets/context/OldDefault.json create mode 100644 default/content/presets/context/Pygmalion.json create mode 100644 default/content/presets/context/Story.json create mode 100644 default/content/presets/context/simple-proxy-for-tavern.json rename {public => default/content/presets}/instruct/Adventure.json (79%) rename {public => default/content/presets}/instruct/Alpaca-Roleplay.json (70%) rename {public => default/content/presets}/instruct/Alpaca-Single-Turn.json (77%) rename {public => default/content/presets}/instruct/Alpaca.json (69%) create mode 100644 default/content/presets/instruct/ChatML.json rename {public => default/content/presets}/instruct/DreamGen Role-Play V1.json (56%) rename {public => default/content/presets}/instruct/Koala.json (64%) rename {public => default/content/presets}/instruct/Libra-32B.json (74%) rename {public => default/content/presets}/instruct/Lightning 1.1.json (82%) create mode 100644 default/content/presets/instruct/Llama 2 Chat.json rename {public => default/content/presets}/instruct/Metharme.json (63%) rename {public => default/content/presets}/instruct/Mistral.json (52%) rename {public => default/content/presets}/instruct/OpenOrca-OpenChat.json (72%) rename {public => default/content/presets}/instruct/Pygmalion.json (68%) rename {public => default/content/presets}/instruct/Story.json (70%) rename {public => default/content/presets}/instruct/Synthia.json (58%) rename {public => default/content/presets}/instruct/Vicuna 1.0.json (70%) rename {public => default/content/presets}/instruct/Vicuna 1.1.json (71%) rename {public => default/content/presets}/instruct/WizardLM-13B.json (70%) rename {public => default/content/presets}/instruct/WizardLM.json (62%) rename {public => default/content/presets}/instruct/simple-proxy-for-tavern.json (58%) delete mode 100644 public/instruct/ChatML.json delete mode 100644 public/instruct/Llama 2 Chat.json diff --git a/default/content/presets/context/Adventure.json b/default/content/presets/context/Adventure.json new file mode 100644 index 000000000..3318d518f --- /dev/null +++ b/default/content/presets/context/Adventure.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", + "example_separator": "", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": false, + "trim_sentences": false, + "include_newline": false, + "single_line": true, + "name": "Adventure" +} \ No newline at end of file diff --git a/default/content/presets/context/Alpaca-Roleplay.json b/default/content/presets/context/Alpaca-Roleplay.json new file mode 100644 index 000000000..d564a1dd7 --- /dev/null +++ b/default/content/presets/context/Alpaca-Roleplay.json @@ -0,0 +1,12 @@ +{ + "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#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}}", + "example_separator": "### New Roleplay:", + "chat_start": "### New Roleplay:", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Alpaca-Roleplay" +} \ No newline at end of file diff --git a/default/content/presets/context/Alpaca-Single-Turn.json b/default/content/presets/context/Alpaca-Single-Turn.json new file mode 100644 index 000000000..ea58fe9d5 --- /dev/null +++ b/default/content/presets/context/Alpaca-Single-Turn.json @@ -0,0 +1,12 @@ +{ + "story_string": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\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}}", + "example_separator": "", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": false, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Alpaca-Single-Turn" +} \ No newline at end of file diff --git a/default/content/presets/context/ChatML.json b/default/content/presets/context/ChatML.json new file mode 100644 index 000000000..8515598f3 --- /dev/null +++ b/default/content/presets/context/ChatML.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#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}}", + "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": "ChatML" +} \ No newline at end of file diff --git a/default/content/presets/context/Default.json b/default/content/presets/context/Default.json new file mode 100644 index 000000000..7c8a231cf --- /dev/null +++ b/default/content/presets/context/Default.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#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}}", + "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": "Default" +} \ No newline at end of file diff --git a/default/content/presets/context/DreamGen Role-Play V1.json b/default/content/presets/context/DreamGen Role-Play V1.json new file mode 100644 index 000000000..6698d27fa --- /dev/null +++ b/default/content/presets/context/DreamGen Role-Play V1.json @@ -0,0 +1,12 @@ +{ + "story_string": "<|im_start|>system\n{{#if system}}{{system}}\n\n\n{{/if}}## Overall plot description:\n\n{{#if scenario}}{{scenario}}{{else}}Conversation between {{char}} and {{user}}.{{/if}}{{#if wiBefore}}\n\n{{wiBefore}}{{/if}}\n\n\n## Characters:\n\n### {{char}}\n\n{{#if description}}{{description}}\n\n{{/if}}{{#if personality}}{{personality}}\n\n{{/if}}### {{user}}\n\n{{#if persona}}{{persona}}{{else}}{{user}} is the protagonist of the role-play.{{/if}}{{#if wiAfter}}\n\n{{wiAfter}}{{/if}}{{#if mesExamples}}\n\n{{mesExamples}}{{/if}}", + "example_separator": "", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": false, + "trim_sentences": true, + "include_newline": false, + "single_line": false, + "name": "DreamGen Role-Play V1" +} \ No newline at end of file diff --git a/default/content/presets/context/Libra-32B.json b/default/content/presets/context/Libra-32B.json new file mode 100644 index 000000000..b5dee2872 --- /dev/null +++ b/default/content/presets/context/Libra-32B.json @@ -0,0 +1,12 @@ +{ + "story_string": "### Instruction:\nWrite {{char}}'s next reply in this roleplay with {{user}}. Use the provided character sheet and example dialogue for formatting direction and character speech patterns.\n\n{{#if system}}{{system}}\n\n{{/if}}### Character Sheet:\n{{#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}}", + "example_separator": "### Example:", + "chat_start": "### START ROLEPLAY:", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Libra-32B" +} \ No newline at end of file diff --git a/default/content/presets/context/Lightning 1.1.json b/default/content/presets/context/Lightning 1.1.json new file mode 100644 index 000000000..3b0190c92 --- /dev/null +++ b/default/content/presets/context/Lightning 1.1.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{system}}\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{char}}'s 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}}{{user}}'s persona: {{persona}}\n{{/if}}", + "example_separator": "Example of an interaction:", + "chat_start": "This is the history of the roleplay:", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Lightning 1.1" +} \ No newline at end of file diff --git a/default/content/presets/context/Minimalist.json b/default/content/presets/context/Minimalist.json new file mode 100644 index 000000000..cc7550c51 --- /dev/null +++ b/default/content/presets/context/Minimalist.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", + "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": "Minimalist" +} \ No newline at end of file diff --git a/default/content/presets/context/Mistral.json b/default/content/presets/context/Mistral.json new file mode 100644 index 000000000..d8c437e0e --- /dev/null +++ b/default/content/presets/context/Mistral.json @@ -0,0 +1,12 @@ +{ + "story_string": "[INST] {{#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}}[/INST]", + "example_separator": "Examples:", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Mistral" +} \ No newline at end of file diff --git a/default/content/presets/context/NovelAI.json b/default/content/presets/context/NovelAI.json new file mode 100644 index 000000000..1a7887a90 --- /dev/null +++ b/default/content/presets/context/NovelAI.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#if system}}{{system}}{{/if}}\n{{#if wiBefore}}{{wiBefore}}{{/if}}\n{{#if persona}}{{persona}}{{/if}}\n{{#if description}}{{description}}{{/if}}\n{{#if personality}}Personality: {{personality}}{{/if}}\n{{#if scenario}}Scenario: {{scenario}}{{/if}}\n{{#if wiAfter}}{{wiAfter}}{{/if}}", + "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": "NovelAI" +} \ No newline at end of file diff --git a/default/content/presets/context/OldDefault.json b/default/content/presets/context/OldDefault.json new file mode 100644 index 000000000..542971f21 --- /dev/null +++ b/default/content/presets/context/OldDefault.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#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}}Circumstances and context of the dialogue: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", + "example_separator": "This is how {{char}} should talk", + "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "OldDefault" +} \ No newline at end of file diff --git a/default/content/presets/context/Pygmalion.json b/default/content/presets/context/Pygmalion.json new file mode 100644 index 000000000..68de8c1d0 --- /dev/null +++ b/default/content/presets/context/Pygmalion.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#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}}", + "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": "Pygmalion" +} \ No newline at end of file diff --git a/default/content/presets/context/Story.json b/default/content/presets/context/Story.json new file mode 100644 index 000000000..26f70937b --- /dev/null +++ b/default/content/presets/context/Story.json @@ -0,0 +1,12 @@ +{ + "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", + "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": "Story" +} \ No newline at end of file diff --git a/default/content/presets/context/simple-proxy-for-tavern.json b/default/content/presets/context/simple-proxy-for-tavern.json new file mode 100644 index 000000000..38003c68d --- /dev/null +++ b/default/content/presets/context/simple-proxy-for-tavern.json @@ -0,0 +1,12 @@ +{ + "story_string": "## {{char}}\n- You're \"{{char}}\" in this never-ending roleplay with \"{{user}}\".\n### Input:\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}}### Response:\n(OOC) Understood. I will take this info into account for the roleplay. (end OOC)", + "example_separator": "### New Roleplay:", + "chat_start": "### New Roleplay:", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "simple-proxy-for-tavern" +} \ No newline at end of file diff --git a/public/instruct/Adventure.json b/default/content/presets/instruct/Adventure.json similarity index 79% rename from public/instruct/Adventure.json rename to default/content/presets/instruct/Adventure.json index 29fe38871..827c6d5c9 100644 --- a/public/instruct/Adventure.json +++ b/default/content/presets/instruct/Adventure.json @@ -5,7 +5,6 @@ "last_output_sequence": "", "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, @@ -14,5 +13,11 @@ "system_sequence_prefix": "", "system_sequence_suffix": "", "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, "name": "Adventure" } \ No newline at end of file diff --git a/public/instruct/Alpaca-Roleplay.json b/default/content/presets/instruct/Alpaca-Roleplay.json similarity index 70% rename from public/instruct/Alpaca-Roleplay.json rename to default/content/presets/instruct/Alpaca-Roleplay.json index 757c5fa77..37bf6cae7 100644 --- a/public/instruct/Alpaca-Roleplay.json +++ b/default/content/presets/instruct/Alpaca-Roleplay.json @@ -1,17 +1,23 @@ { - "name": "Alpaca-Roleplay", "system_prompt": "Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.", "input_sequence": "\n### Instruction:", "output_sequence": "\n### Response:", - "first_output_sequence": "", "last_output_sequence": "\n### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": true, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Alpaca-Roleplay" +} \ No newline at end of file diff --git a/public/instruct/Alpaca-Single-Turn.json b/default/content/presets/instruct/Alpaca-Single-Turn.json similarity index 77% rename from public/instruct/Alpaca-Single-Turn.json rename to default/content/presets/instruct/Alpaca-Single-Turn.json index a86359b58..6a6f052d2 100644 --- a/public/instruct/Alpaca-Single-Turn.json +++ b/default/content/presets/instruct/Alpaca-Single-Turn.json @@ -2,16 +2,22 @@ "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\nWrite 1 reply only, italicize actions, and avoid quotation marks. Use markdown. Be proactive, creative, and drive the plot and conversation forward. Include dialog as well as narration.", "input_sequence": "", "output_sequence": "", - "first_output_sequence": "", "last_output_sequence": "\n### Response:", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, "names_force_groups": true, "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, "name": "Alpaca-Single-Turn" } \ No newline at end of file diff --git a/public/instruct/Alpaca.json b/default/content/presets/instruct/Alpaca.json similarity index 69% rename from public/instruct/Alpaca.json rename to default/content/presets/instruct/Alpaca.json index 2d48e586c..f3b3b4cc8 100644 --- a/public/instruct/Alpaca.json +++ b/default/content/presets/instruct/Alpaca.json @@ -1,17 +1,23 @@ { - "name": "Alpaca", "system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", "input_sequence": "### Instruction:", "output_sequence": "### Response:", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Alpaca" +} \ No newline at end of file diff --git a/default/content/presets/instruct/ChatML.json b/default/content/presets/instruct/ChatML.json new file mode 100644 index 000000000..bd19cabd7 --- /dev/null +++ b/default/content/presets/instruct/ChatML.json @@ -0,0 +1,23 @@ +{ + "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.", + "input_sequence": "\n<|im_start|>user\n", + "output_sequence": "\n<|im_start|>assistant\n", + "last_output_sequence": "", + "system_sequence": "\n<|im_start|>system\n", + "stop_sequence": "", + "wrap": false, + "macro": true, + "names": true, + "names_force_groups": true, + "activation_regex": "", + "system_sequence_prefix": "<|im_start|>system\n", + "system_sequence_suffix": "<|im_end|>", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "<|im_end|>", + "input_suffix": "<|im_end|>", + "system_suffix": "<|im_end|>", + "user_alignment_message": "", + "system_same_as_user": false, + "name": "ChatML" +} \ No newline at end of file diff --git a/public/instruct/DreamGen Role-Play V1.json b/default/content/presets/instruct/DreamGen Role-Play V1.json similarity index 56% rename from public/instruct/DreamGen Role-Play V1.json rename to default/content/presets/instruct/DreamGen Role-Play V1.json index 419aec4d7..07f0301fc 100644 --- a/public/instruct/DreamGen Role-Play V1.json +++ b/default/content/presets/instruct/DreamGen Role-Play V1.json @@ -1,18 +1,23 @@ { "system_prompt": "You are an intelligent, skilled, versatile writer.\n\nYour task is to write a role-play based on the information below.", - "input_sequence": "<|im_end|>\n<|im_start|>text names= {{user}}\n", - "output_sequence": "<|im_end|>\n<|im_start|>text names= {{char}}\n", - "first_output_sequence": "", + "input_sequence": "\n<|im_start|>text names= {{name}}\n", + "output_sequence": "\n<|im_start|>text names= {{name}}\n", "last_output_sequence": "", - "system_sequence_prefix": "", - "system_sequence_suffix": "", - "stop_sequence": "", - "separator_sequence": "", + "system_sequence": "", + "stop_sequence": "\n<|im_start|>", "wrap": false, "macro": true, "names": false, "names_force_groups": false, "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", "skip_examples": false, + "output_suffix": "<|im_end|>", + "input_suffix": "<|im_end|>", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, "name": "DreamGen Role-Play V1" } \ No newline at end of file diff --git a/public/instruct/Koala.json b/default/content/presets/instruct/Koala.json similarity index 64% rename from public/instruct/Koala.json rename to default/content/presets/instruct/Koala.json index eeaf126d1..980482c1a 100644 --- a/public/instruct/Koala.json +++ b/default/content/presets/instruct/Koala.json @@ -1,17 +1,23 @@ { - "name": "Koala", "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", "input_sequence": "USER: ", "output_sequence": "GPT: ", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "BEGINNING OF CONVERSATION: ", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": false, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "BEGINNING OF CONVERSATION: ", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Koala" +} \ No newline at end of file diff --git a/public/instruct/Libra-32B.json b/default/content/presets/instruct/Libra-32B.json similarity index 74% rename from public/instruct/Libra-32B.json rename to default/content/presets/instruct/Libra-32B.json index 43ecef7a8..6014546f6 100644 --- a/public/instruct/Libra-32B.json +++ b/default/content/presets/instruct/Libra-32B.json @@ -1,17 +1,23 @@ { - "wrap": true, - "names": true, "system_prompt": "Avoid repetition, don't loop. Develop the plot slowly, always stay in character. Describe all actions in full, elaborate, explicit, graphic, and vivid detail. Mention all relevant sensory perceptions.", - "system_sequence_prefix": "", - "stop_sequence": "", "input_sequence": "", "output_sequence": "", - "separator_sequence": "", - "macro": true, - "names_force_groups": true, "last_output_sequence": "\n### Response:", + "system_sequence": "", + "stop_sequence": "", + "wrap": true, + "macro": true, + "names": true, + "names_force_groups": true, "activation_regex": "", - "first_output_sequence": "", + "system_sequence_prefix": "", "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, "name": "Libra-32B" } \ No newline at end of file diff --git a/public/instruct/Lightning 1.1.json b/default/content/presets/instruct/Lightning 1.1.json similarity index 82% rename from public/instruct/Lightning 1.1.json rename to default/content/presets/instruct/Lightning 1.1.json index a653af92d..bf79e1358 100644 --- a/public/instruct/Lightning 1.1.json +++ b/default/content/presets/instruct/Lightning 1.1.json @@ -1,18 +1,23 @@ { - "wrap": true, - "names": false, "system_prompt": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\nTake the role of {{char}} in a play that leaves a lasting impression on {{user}}. Write {{char}}'s next reply.\nNever skip or gloss over {{char}}’s actions. Progress the scene at a naturally slow pace.\n\n", - "system_sequence": "", - "stop_sequence": "", "input_sequence": "### Instruction:", "output_sequence": "### Response: (length = unlimited)", - "separator_sequence": "", - "macro": true, - "names_force_groups": true, "last_output_sequence": "", + "system_sequence": "", + "stop_sequence": "", + "wrap": true, + "macro": true, + "names": false, + "names_force_groups": true, + "activation_regex": "", "system_sequence_prefix": "", "system_sequence_suffix": "", "first_output_sequence": "", - "activation_regex": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, "name": "Lightning 1.1" -} +} \ No newline at end of file diff --git a/default/content/presets/instruct/Llama 2 Chat.json b/default/content/presets/instruct/Llama 2 Chat.json new file mode 100644 index 000000000..c129e71d1 --- /dev/null +++ b/default/content/presets/instruct/Llama 2 Chat.json @@ -0,0 +1,23 @@ +{ + "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", + "input_sequence": "[INST] ", + "output_sequence": " ", + "last_output_sequence": "", + "system_sequence": "", + "stop_sequence": "", + "wrap": false, + "macro": true, + "names": false, + "names_force_groups": true, + "activation_regex": "", + "system_sequence_prefix": "[INST] <>\n", + "system_sequence_suffix": "\n<>\n", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": " ", + "input_suffix": " [/INST]", + "system_suffix": "", + "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.", + "system_same_as_user": true, + "name": "Llama 2 Chat" +} \ No newline at end of file diff --git a/public/instruct/Metharme.json b/default/content/presets/instruct/Metharme.json similarity index 63% rename from public/instruct/Metharme.json rename to default/content/presets/instruct/Metharme.json index 818dafde7..1c8474cdf 100644 --- a/public/instruct/Metharme.json +++ b/default/content/presets/instruct/Metharme.json @@ -1,17 +1,23 @@ { - "name": "Metharme", "system_prompt": "Enter roleplay mode. You must act as {{char}}, whose persona follows:", "input_sequence": "<|user|>", "output_sequence": "<|model|>", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "<|system|>", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": false, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "<|system|>", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Metharme" +} \ No newline at end of file diff --git a/public/instruct/Mistral.json b/default/content/presets/instruct/Mistral.json similarity index 52% rename from public/instruct/Mistral.json rename to default/content/presets/instruct/Mistral.json index 2cc52fda1..2dbf47fdc 100644 --- a/public/instruct/Mistral.json +++ b/default/content/presets/instruct/Mistral.json @@ -1,17 +1,23 @@ { - "wrap": false, - "names": true, "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", - "system_sequence_prefix": "", - "stop_sequence": "", "input_sequence": "[INST] ", - "output_sequence": " [/INST]\n", - "separator_sequence": "\n", - "macro": true, - "names_force_groups": true, + "output_sequence": "\n", "last_output_sequence": "", + "system_sequence": "", + "stop_sequence": "", + "wrap": false, + "macro": true, + "names": true, + "names_force_groups": true, "activation_regex": "", - "first_output_sequence": "\n", + "system_sequence_prefix": "", "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "\n", + "input_suffix": " [/INST]", + "system_suffix": "", + "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.", + "system_same_as_user": true, "name": "Mistral" } \ No newline at end of file diff --git a/public/instruct/OpenOrca-OpenChat.json b/default/content/presets/instruct/OpenOrca-OpenChat.json similarity index 72% rename from public/instruct/OpenOrca-OpenChat.json rename to default/content/presets/instruct/OpenOrca-OpenChat.json index 6eaf74fdd..924ea94f7 100644 --- a/public/instruct/OpenOrca-OpenChat.json +++ b/default/content/presets/instruct/OpenOrca-OpenChat.json @@ -1,17 +1,23 @@ { - "name": "OpenOrca-OpenChat", "system_prompt": "You are a helpful assistant. Please answer truthfully and write out your thinking step by step to be sure you get the right answer. If you make a mistake or encounter an error in your thinking, say so out loud and attempt to correct it. If you don't know or aren't sure about something, say so clearly. You will act as a professional logician, mathematician, and physicist. You will also act as the most appropriate type of expert to answer any particular question or solve the relevant problem; state which expert type your are, if so. Also think of any particular named expert that would be ideal to answer the relevant question or solve the relevant problem; name and act as them, if appropriate.\n", - "input_sequence": "User: ", - "output_sequence": "<|end_of_turn|>\nAssistant: ", - "first_output_sequence": "", + "input_sequence": "\nUser: ", + "output_sequence": "\nAssistant: ", "last_output_sequence": "", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "<|end_of_turn|>\n", "wrap": false, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "<|end_of_turn|>", + "input_suffix": "<|end_of_turn|>", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, + "name": "OpenOrca-OpenChat" +} \ No newline at end of file diff --git a/public/instruct/Pygmalion.json b/default/content/presets/instruct/Pygmalion.json similarity index 68% rename from public/instruct/Pygmalion.json rename to default/content/presets/instruct/Pygmalion.json index 2e225bb47..6278c0d23 100644 --- a/public/instruct/Pygmalion.json +++ b/default/content/presets/instruct/Pygmalion.json @@ -1,17 +1,23 @@ { - "name": "Pygmalion", "system_prompt": "Enter RP mode. You shall reply to {{user}} while staying in character. Your responses must be detailed, creative, immersive, and drive the scenario forward. You will follow {{char}}'s persona.", "input_sequence": "<|user|>", "output_sequence": "<|model|>", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "<|system|>", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "<|user|>", - "separator_sequence": "", "wrap": false, "macro": true, "names": true, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "<|system|>", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Pygmalion" +} \ No newline at end of file diff --git a/public/instruct/Story.json b/default/content/presets/instruct/Story.json similarity index 70% rename from public/instruct/Story.json rename to default/content/presets/instruct/Story.json index 11b167afe..1e42d3281 100644 --- a/public/instruct/Story.json +++ b/default/content/presets/instruct/Story.json @@ -5,7 +5,6 @@ "last_output_sequence": "", "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, @@ -14,5 +13,11 @@ "system_sequence_prefix": "", "system_sequence_suffix": "", "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, "name": "Story" } \ No newline at end of file diff --git a/public/instruct/Synthia.json b/default/content/presets/instruct/Synthia.json similarity index 58% rename from public/instruct/Synthia.json rename to default/content/presets/instruct/Synthia.json index 05f9fff9c..3315c9046 100644 --- a/public/instruct/Synthia.json +++ b/default/content/presets/instruct/Synthia.json @@ -1,17 +1,23 @@ { - "wrap": false, - "names": false, "system_prompt": "Elaborate on the topic using a Tree of Thoughts and backtrack when necessary to construct a clear, cohesive Chain of Thought reasoning. Always answer without hesitation.", - "system_sequence_prefix": "SYSTEM: ", - "stop_sequence": "", - "input_sequence": "USER: ", + "input_sequence": "\nUSER: ", "output_sequence": "\nASSISTANT: ", - "separator_sequence": "\n", - "macro": true, - "names_force_groups": true, "last_output_sequence": "", + "system_sequence": "", + "stop_sequence": "", + "wrap": false, + "macro": true, + "names": false, + "names_force_groups": true, "activation_regex": "", - "first_output_sequence": "ASSISTANT: ", + "system_sequence_prefix": "SYSTEM: ", "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "Let's get started. Please respond based on the information and instructions provided above.", + "system_same_as_user": true, "name": "Synthia" } \ No newline at end of file diff --git a/public/instruct/Vicuna 1.0.json b/default/content/presets/instruct/Vicuna 1.0.json similarity index 70% rename from public/instruct/Vicuna 1.0.json rename to default/content/presets/instruct/Vicuna 1.0.json index 1912e4885..fbc8a2bf5 100644 --- a/public/instruct/Vicuna 1.0.json +++ b/default/content/presets/instruct/Vicuna 1.0.json @@ -1,17 +1,23 @@ { - "name": "Vicuna 1.0", "system_prompt": "A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human's questions.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", "input_sequence": "### Human:", "output_sequence": "### Assistant:", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Vicuna 1.0" +} \ No newline at end of file diff --git a/public/instruct/Vicuna 1.1.json b/default/content/presets/instruct/Vicuna 1.1.json similarity index 71% rename from public/instruct/Vicuna 1.1.json rename to default/content/presets/instruct/Vicuna 1.1.json index fdab31e28..a31698d03 100644 --- a/public/instruct/Vicuna 1.1.json +++ b/default/content/presets/instruct/Vicuna 1.1.json @@ -1,17 +1,23 @@ { - "name": "Vicuna 1.1", "system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nWrite {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", "input_sequence": "\nUSER: ", "output_sequence": "\nASSISTANT: ", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "BEGINNING OF CONVERSATION:", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": false, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "BEGINNING OF CONVERSATION:", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "Vicuna 1.1" +} \ No newline at end of file diff --git a/public/instruct/WizardLM-13B.json b/default/content/presets/instruct/WizardLM-13B.json similarity index 70% rename from public/instruct/WizardLM-13B.json rename to default/content/presets/instruct/WizardLM-13B.json index 3b03c05f1..21e7bd555 100644 --- a/public/instruct/WizardLM-13B.json +++ b/default/content/presets/instruct/WizardLM-13B.json @@ -1,17 +1,23 @@ { - "name": "WizardLM-13B", "system_prompt": "A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user's questions.\n\nWrite {{char}}'s next detailed reply in a fictional roleplay chat between {{user}} and {{char}}.", "input_sequence": "USER: ", "output_sequence": "ASSISTANT: ", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": true, + "name": "WizardLM-13B" +} \ No newline at end of file diff --git a/public/instruct/WizardLM.json b/default/content/presets/instruct/WizardLM.json similarity index 62% rename from public/instruct/WizardLM.json rename to default/content/presets/instruct/WizardLM.json index be7f25bc7..198f6a062 100644 --- a/public/instruct/WizardLM.json +++ b/default/content/presets/instruct/WizardLM.json @@ -1,17 +1,23 @@ { - "name": "WizardLM", "system_prompt": "Write {{char}}'s next reply in a fictional roleplay chat between {{user}} and {{char}}.\n", "input_sequence": "", "output_sequence": "### Response:", - "first_output_sequence": "", "last_output_sequence": "", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, "names_force_groups": true, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, + "name": "WizardLM" +} \ No newline at end of file diff --git a/public/instruct/simple-proxy-for-tavern.json b/default/content/presets/instruct/simple-proxy-for-tavern.json similarity index 58% rename from public/instruct/simple-proxy-for-tavern.json rename to default/content/presets/instruct/simple-proxy-for-tavern.json index ca32c982d..14d32d86c 100644 --- a/public/instruct/simple-proxy-for-tavern.json +++ b/default/content/presets/instruct/simple-proxy-for-tavern.json @@ -1,17 +1,23 @@ { - "name": "simple-proxy-for-tavern", "system_prompt": "[System note: Write one reply only. Do not decide what {{user}} says or does. Write at least one paragraph, up to four. Be descriptive and immersive, providing vivid details about {{char}}'s actions, emotions, and the environment. Write with a high degree of complexity and burstiness. Do not repeat this message.]", - "input_sequence": "### Instruction:\n#### {{user}}:", - "output_sequence": "### Response:\n#### {{char}}:", - "first_output_sequence": "", - "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):\n#### {{char}}:", - "system_sequence_prefix": "", - "system_sequence_suffix": "", + "input_sequence": "### Instruction:\n#### {{name}}:", + "output_sequence": "### Response:\n#### {{name}}:", + "last_output_sequence": "### Response (2 paragraphs, engaging, natural, authentic, descriptive, creative):\n#### {{name}}:", + "system_sequence": "", "stop_sequence": "", - "separator_sequence": "", "wrap": true, "macro": true, "names": false, "names_force_groups": false, - "activation_regex": "" -} + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "", + "input_suffix": "", + "system_suffix": "", + "user_alignment_message": "", + "system_same_as_user": false, + "name": "simple-proxy-for-tavern" +} \ No newline at end of file diff --git a/public/context/Adventure.json b/public/context/Adventure.json index 44ae59cc1..3318d518f 100644 --- a/public/context/Adventure.json +++ b/public/context/Adventure.json @@ -2,6 +2,8 @@ "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", "example_separator": "", "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, "always_force_name2": false, "trim_sentences": false, "include_newline": false, diff --git a/public/context/Alpaca-Roleplay.json b/public/context/Alpaca-Roleplay.json index 9565f5873..d564a1dd7 100644 --- a/public/context/Alpaca-Roleplay.json +++ b/public/context/Alpaca-Roleplay.json @@ -1,6 +1,12 @@ { - "name": "Alpaca-Roleplay", "story_string": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.\n\n{{#if system}}{{system}}\n\n{{/if}}### Input:\n{{#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}}", + "example_separator": "### New Roleplay:", "chat_start": "### New Roleplay:", - "example_separator": "### New Roleplay:" -} + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Alpaca-Roleplay" +} \ No newline at end of file diff --git a/public/context/Alpaca-Single-Turn.json b/public/context/Alpaca-Single-Turn.json index 7cbf4240d..ea58fe9d5 100644 --- a/public/context/Alpaca-Single-Turn.json +++ b/public/context/Alpaca-Single-Turn.json @@ -3,6 +3,7 @@ "example_separator": "", "chat_start": "", "use_stop_strings": false, + "allow_jailbreak": false, "always_force_name2": false, "trim_sentences": false, "include_newline": false, diff --git a/public/context/ChatML.json b/public/context/ChatML.json index e4e17d623..8515598f3 100644 --- a/public/context/ChatML.json +++ b/public/context/ChatML.json @@ -1,6 +1,12 @@ { - "story_string": "<|im_start|>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}}<|im_end|>", - "chat_start": "", + "story_string": "{{#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}}", "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": "ChatML" -} +} \ No newline at end of file diff --git a/public/context/Default.json b/public/context/Default.json index 27ec1ea93..7c8a231cf 100644 --- a/public/context/Default.json +++ b/public/context/Default.json @@ -1,6 +1,12 @@ { - "name": "Default", "story_string": "{{#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}}", + "example_separator": "***", "chat_start": "***", - "example_separator": "***" -} + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Default" +} \ No newline at end of file diff --git a/public/context/DreamGen Role-Play V1.json b/public/context/DreamGen Role-Play V1.json index 24ed8b574..6698d27fa 100644 --- a/public/context/DreamGen Role-Play V1.json +++ b/public/context/DreamGen Role-Play V1.json @@ -3,6 +3,7 @@ "example_separator": "", "chat_start": "", "use_stop_strings": false, + "allow_jailbreak": false, "always_force_name2": false, "trim_sentences": true, "include_newline": false, diff --git a/public/context/Libra-32B.json b/public/context/Libra-32B.json index 83207c99f..b5dee2872 100644 --- a/public/context/Libra-32B.json +++ b/public/context/Libra-32B.json @@ -1,6 +1,12 @@ { "story_string": "### Instruction:\nWrite {{char}}'s next reply in this roleplay with {{user}}. Use the provided character sheet and example dialogue for formatting direction and character speech patterns.\n\n{{#if system}}{{system}}\n\n{{/if}}### Character Sheet:\n{{#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}}", - "chat_start": "### START ROLEPLAY:", "example_separator": "### Example:", + "chat_start": "### START ROLEPLAY:", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, "name": "Libra-32B" } \ No newline at end of file diff --git a/public/context/Lightning 1.1.json b/public/context/Lightning 1.1.json index 97dec26ce..3b0190c92 100644 --- a/public/context/Lightning 1.1.json +++ b/public/context/Lightning 1.1.json @@ -1,6 +1,12 @@ { "story_string": "{{system}}\n{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{char}}'s 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}}{{user}}'s persona: {{persona}}\n{{/if}}", - "chat_start": "This is the history of the roleplay:", "example_separator": "Example of an interaction:", + "chat_start": "This is the history of the roleplay:", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, "name": "Lightning 1.1" -} +} \ No newline at end of file diff --git a/public/context/Minimalist.json b/public/context/Minimalist.json index 92ee66755..cc7550c51 100644 --- a/public/context/Minimalist.json +++ b/public/context/Minimalist.json @@ -1,6 +1,12 @@ { - "name": "Minimalist", "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", + "example_separator": "", "chat_start": "", - "example_separator": "" -} + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Minimalist" +} \ No newline at end of file diff --git a/public/context/Mistral.json b/public/context/Mistral.json index 5497a0c18..d8c437e0e 100644 --- a/public/context/Mistral.json +++ b/public/context/Mistral.json @@ -1,6 +1,12 @@ { "story_string": "[INST] {{#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}}[/INST]", - "chat_start": "", "example_separator": "Examples:", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, "name": "Mistral" } \ No newline at end of file diff --git a/public/context/NovelAI.json b/public/context/NovelAI.json index b22590ab0..1a7887a90 100644 --- a/public/context/NovelAI.json +++ b/public/context/NovelAI.json @@ -1,6 +1,12 @@ { - "name": "NovelAI", "story_string": "{{#if system}}{{system}}{{/if}}\n{{#if wiBefore}}{{wiBefore}}{{/if}}\n{{#if persona}}{{persona}}{{/if}}\n{{#if description}}{{description}}{{/if}}\n{{#if personality}}Personality: {{personality}}{{/if}}\n{{#if scenario}}Scenario: {{scenario}}{{/if}}\n{{#if wiAfter}}{{wiAfter}}{{/if}}", + "example_separator": "***", "chat_start": "***", - "example_separator": "***" + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "NovelAI" } \ No newline at end of file diff --git a/public/context/OldDefault.json b/public/context/OldDefault.json index ff8b2b983..542971f21 100644 --- a/public/context/OldDefault.json +++ b/public/context/OldDefault.json @@ -1,6 +1,12 @@ { "story_string": "{{#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}}Circumstances and context of the dialogue: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", - "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n", "example_separator": "This is how {{char}} should talk", + "chat_start": "\nThen the roleplay chat between {{user}} and {{char}} begins.\n", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, "name": "OldDefault" } \ No newline at end of file diff --git a/public/context/Pygmalion.json b/public/context/Pygmalion.json index 1a57d73d7..68de8c1d0 100644 --- a/public/context/Pygmalion.json +++ b/public/context/Pygmalion.json @@ -1,6 +1,12 @@ { - "name": "Pygmalion", "story_string": "{{#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}}", + "example_separator": "", "chat_start": "", - "example_separator": "" -} + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "Pygmalion" +} \ No newline at end of file diff --git a/public/context/Story.json b/public/context/Story.json index 90e7f09a1..26f70937b 100644 --- a/public/context/Story.json +++ b/public/context/Story.json @@ -1,6 +1,12 @@ { "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", - "chat_start": "", "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": "Story" } \ No newline at end of file diff --git a/public/context/simple-proxy-for-tavern.json b/public/context/simple-proxy-for-tavern.json index 99e19888a..38003c68d 100644 --- a/public/context/simple-proxy-for-tavern.json +++ b/public/context/simple-proxy-for-tavern.json @@ -1,6 +1,12 @@ { - "name": "simple-proxy-for-tavern", "story_string": "## {{char}}\n- You're \"{{char}}\" in this never-ending roleplay with \"{{user}}\".\n### Input:\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}}### Response:\n(OOC) Understood. I will take this info into account for the roleplay. (end OOC)", + "example_separator": "### New Roleplay:", "chat_start": "### New Roleplay:", - "example_separator": "### New Roleplay:" -} + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "include_newline": false, + "single_line": false, + "name": "simple-proxy-for-tavern" +} \ No newline at end of file diff --git a/public/instruct/ChatML.json b/public/instruct/ChatML.json deleted file mode 100644 index 2fb02f9c1..000000000 --- a/public/instruct/ChatML.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "wrap": false, - "names": true, - "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.", - "system_sequence_prefix": "", - "stop_sequence": "", - "input_sequence": "<|im_start|>user\n", - "output_sequence": "<|im_end|>\n<|im_start|>assistant\n", - "separator_sequence": "<|im_end|>\n", - "macro": true, - "names_force_groups": true, - "last_output_sequence": "", - "activation_regex": "", - "first_output_sequence": "<|im_start|>assistant\n", - "system_sequence_suffix": "", - "name": "ChatML" -} \ No newline at end of file diff --git a/public/instruct/Llama 2 Chat.json b/public/instruct/Llama 2 Chat.json deleted file mode 100644 index 23eb2b346..000000000 --- a/public/instruct/Llama 2 Chat.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "name": "Llama 2 Chat", - "system_prompt": "Write {{char}}'s next reply in this fictional roleplay with {{user}}.", - "input_sequence": "[INST] ", - "output_sequence": " [/INST] ", - "first_output_sequence": "[/INST] ", - "last_output_sequence": "", - "system_sequence_prefix": "[INST] <>\n", - "system_sequence_suffix": "\n<>\n", - "stop_sequence": "", - "separator_sequence": " ", - "wrap": false, - "macro": true, - "names": false, - "names_force_groups": true, - "activation_regex": "" -}