From c05404f8d5de4d78c6196862ee4affe4e39a1b5a Mon Sep 17 00:00:00 2001 From: RossAscends <124905043+RossAscends@users.noreply.github.com> Date: Sat, 20 Apr 2024 03:08:16 +0900 Subject: [PATCH] add Llama 3 context preset --- default/content/presets/context/Llama 3 Context.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 default/content/presets/context/Llama 3 Context.json diff --git a/default/content/presets/context/Llama 3 Context.json b/default/content/presets/context/Llama 3 Context.json new file mode 100644 index 000000000..c5af17def --- /dev/null +++ b/default/content/presets/context/Llama 3 Context.json @@ -0,0 +1,12 @@ +{ + "story_string": "<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\n{{#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}}{{trim}}<|eot_id|>", + "example_separator": "", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": false, + "trim_sentences": true, + "include_newline": true, + "single_line": false, + "name": "Llama 3 Context" +} \ No newline at end of file