Merge pull request #3911 from cloak1505/staging Normalize instruct names behavior and repair Lightning 1.1's system prompt

76aa17e08f7f6bf94744dc24a6bd05b7d19cb297

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
16 files changed, +27 -19Showing whitespace changes
default/content/index.json+4 -0
@@ -756,6 +756,10 @@
756756 "type": "sysprompt"
757757 },
758758 {
759+ "filename": "presets/sysprompt/Lightning 1.1.json",
760+ "type": "sysprompt"
761+ },
762+ {
759763 "filename": "presets/instruct/Mistral V1.json",
760764 "type": "instruct"
761765 },
default/content/presets/context/Lightning 1.1.json+3 -3
@@ -1,7 +1,7 @@
11{
22 "story_string": "Below is an instruction that describes a task. Write a response that appropriately completes the request.\n\n### Instruction:\n{{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}}\n\n",
33 "example_separator": "Example of an interaction:\n",
44 "chat_start": "This is the history of the roleplay:\n",
55 "use_stop_strings": false,
66 "allow_jailbreak": false,
77 "always_force_name2": true,
default/content/presets/instruct/ChatML.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "<|im_end|>",
77 "wrap": true,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Command R.json+1 -1
@@ -8,7 +8,7 @@
88 "stop_sequence": "<|END_OF_TURN_TOKEN|>",
99 "wrap": false,
1010 "macro": true,
1111 "names_behavior": "alwaysforce",
1212 "activation_regex": "",
1313 "skip_examples": false,
1414 "output_suffix": "<|END_OF_TURN_TOKEN|>",
default/content/presets/instruct/Gemma 2.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "<end_of_turn>",
77 "wrap": true,
88 "macro": true,
99 "names_behavior": "noneforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Lightning 1.1.json+4 -4
@@ -1,7 +1,7 @@
11{
22 "input_sequence": "### Instruction:",
33 "output_sequence": "### Response: (length = unlimited)",
44 "last_output_sequence": "### Response: (length = unlimited)",
55 "system_sequence": "",
66 "stop_sequence": "",
77 "wrap": true,
@@ -12,8 +12,8 @@
1212 "system_sequence_suffix": "",
1313 "first_output_sequence": "",
1414 "skip_examples": false,
1515 "output_suffix": "\n\n",
1616 "input_suffix": "\n\n",
1717 "system_suffix": "",
1818 "user_alignment_message": "",
1919 "system_same_as_user": true,
default/content/presets/instruct/Llama 3 Instruct.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "<|eot_id|>",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Llama 4 Instruct.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "<|eot|>",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Mistral V1.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Mistral V2 & V3.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Mistral V3-Tekken.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Mistral V7.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "</s>",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Phi.json+1 -1
@@ -8,7 +8,7 @@
88 "stop_sequence": "<|end|>",
99 "wrap": false,
1010 "macro": true,
1111 "names_behavior": "alwaysforce",
1212 "activation_regex": "",
1313 "skip_examples": false,
1414 "output_suffix": "<|end|>\n",
default/content/presets/instruct/Pygmalion.json+1 -1
@@ -6,7 +6,7 @@
66 "stop_sequence": "<|user|>",
77 "wrap": false,
88 "macro": true,
99 "names_behavior": "alwaysforce",
1010 "activation_regex": "",
1111 "system_sequence_prefix": "<|system|>",
1212 "system_sequence_suffix": "",
default/content/presets/instruct/Tulu.json+1 -1
@@ -8,7 +8,7 @@
88 "stop_sequence": "<|end_of_text|>",
99 "wrap": false,
1010 "macro": true,
1111 "names_behavior": "alwaysforce",
1212 "activation_regex": "",
1313 "skip_examples": false,
1414 "output_suffix": "<|end_of_text|>\n",
default/content/presets/sysprompt/Lightning 1.1.json+4 -0
@@ -0,0 +1,4 @@
1+{
2+ "name": "Lightning 1.1",
3+ "content": "Take 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."
4+}