From af4f60a4af8f21cc94d832152fede8d3dabccce2 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:56:49 +0300 Subject: [PATCH] Update Pygmalion context template. Add Pygmalion instruct template --- public/context/Pygmalion.json | 6 +++--- public/instruct/Pygmalion.json | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 public/instruct/Pygmalion.json diff --git a/public/context/Pygmalion.json b/public/context/Pygmalion.json index 82590e440..1a57d73d7 100644 --- a/public/context/Pygmalion.json +++ b/public/context/Pygmalion.json @@ -1,6 +1,6 @@ { "name": "Pygmalion", - "story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{{char}}}'s Persona: {{description}}\n{{/if}}{{#if personality}}Personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}", - "chat_start": "", - "example_separator": "" + "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}}", + "chat_start": "", + "example_separator": "" } diff --git a/public/instruct/Pygmalion.json b/public/instruct/Pygmalion.json new file mode 100644 index 000000000..2e225bb47 --- /dev/null +++ b/public/instruct/Pygmalion.json @@ -0,0 +1,17 @@ +{ + "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": "", + "stop_sequence": "<|user|>", + "separator_sequence": "", + "wrap": false, + "macro": true, + "names": true, + "names_force_groups": true, + "activation_regex": "" +}