diff --git a/default/content/index.json b/default/content/index.json index 49e2dd12c..ac88da3e3 100644 --- a/default/content/index.json +++ b/default/content/index.json @@ -563,6 +563,10 @@ "filename": "presets/context/Llama 3 Instruct.json", "type": "context" }, + { + "filename": "presets/context/Llama 4 Instruct.json", + "type": "context" + }, { "filename": "presets/context/Phi.json", "type": "context" @@ -663,6 +667,10 @@ "filename": "presets/instruct/Llama 3 Instruct.json", "type": "instruct" }, + { + "filename": "presets/instruct/Llama 4 Instruct.json", + "type": "instruct" + }, { "filename": "presets/instruct/Phi.json", "type": "instruct" diff --git a/default/content/presets/context/Llama 4 Instruct.json b/default/content/presets/context/Llama 4 Instruct.json new file mode 100644 index 000000000..e1be872e7 --- /dev/null +++ b/default/content/presets/context/Llama 4 Instruct.json @@ -0,0 +1,11 @@ +{ + "story_string": "<|begin_of_text|><|header_start|>system<|header_end|>\n\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}}<|eot|>", + "example_separator": "", + "chat_start": "", + "use_stop_strings": false, + "allow_jailbreak": false, + "always_force_name2": true, + "trim_sentences": false, + "single_line": false, + "name": "Llama 4 Instruct" +} diff --git a/default/content/presets/instruct/Llama 3 Instruct.json b/default/content/presets/instruct/Llama 3 Instruct.json index d283820f4..317a4c698 100644 --- a/default/content/presets/instruct/Llama 3 Instruct.json +++ b/default/content/presets/instruct/Llama 3 Instruct.json @@ -16,7 +16,7 @@ "input_suffix": "<|eot_id|>", "system_suffix": "<|eot_id|>", "user_alignment_message": "", - "system_same_as_user": true, + "system_same_as_user": false, "last_system_sequence": "", "name": "Llama 3 Instruct" } diff --git a/default/content/presets/instruct/Llama 4 Instruct.json b/default/content/presets/instruct/Llama 4 Instruct.json new file mode 100644 index 000000000..28115c6ce --- /dev/null +++ b/default/content/presets/instruct/Llama 4 Instruct.json @@ -0,0 +1,22 @@ +{ + "input_sequence": "<|header_start|>user<|header_end|>\n\n", + "output_sequence": "<|header_start|>assistant<|header_end|>\n\n", + "last_output_sequence": "", + "system_sequence": "<|header_start|>system<|header_end|>\n\n", + "stop_sequence": "<|eot|>", + "wrap": false, + "macro": true, + "names_behavior": "always", + "activation_regex": "", + "system_sequence_prefix": "", + "system_sequence_suffix": "", + "first_output_sequence": "", + "skip_examples": false, + "output_suffix": "<|eot|>", + "input_suffix": "<|eot|>", + "system_suffix": "<|eot|>", + "user_alignment_message": "", + "system_same_as_user": false, + "last_system_sequence": "", + "name": "Llama 4 Instruct" +}