Add Moonshot AI instruct template (#4270) * Add Moonshot AI instruct template * This is not needed anymore --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Signed| @@ -830,5 +830,13 @@ | |||
| 830 | { | 830 | { |
| 831 | "filename": "presets/instruct/Mistral V7-Tekken.json", | 831 | "filename": "presets/instruct/Mistral V7-Tekken.json", |
| 832 | "type": "instruct" | 832 | "type": "instruct" |
| 833 | }, | ||
| 834 | { | ||
| 835 | "filename": "presets/instruct/Moonshot AI.json", | ||
| 836 | "type": "instruct" | ||
| 837 | }, | ||
| 838 | { | ||
| 839 | "filename": "presets/context/Moonshot AI.json", | ||
| 840 | "type": "context" | ||
| 833 | } | 841 | } |
| 834 | ] | 842 | ] |
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | "story_string": "<|im_system|>system<|im_middle|>{{#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}}<|im_end|>", | ||
| 3 | "example_separator": "", | ||
| 4 | "chat_start": "", | ||
| 5 | "use_stop_strings": false, | ||
| 6 | "names_as_stop_strings": true, | ||
| 7 | "always_force_name2": true, | ||
| 8 | "trim_sentences": false, | ||
| 9 | "single_line": false, | ||
| 10 | "name": "Moonshot AI" | ||
| 11 | } | ||
| \ No newline at end of file | 11 | \ No newline at end of file | |
| @@ -0,0 +1,24 @@ | |||
| 1 | { | ||
| 2 | "input_sequence": "<|im_user|>user<|im_middle|>", | ||
| 3 | "output_sequence": "<|im_assistant|>assistant<|im_middle|>", | ||
| 4 | "last_output_sequence": "", | ||
| 5 | "system_sequence": "<|im_system|>system<|im_middle|>", | ||
| 6 | "stop_sequence": "<|im_end|>", | ||
| 7 | "wrap": false, | ||
| 8 | "macro": true, | ||
| 9 | "activation_regex": "", | ||
| 10 | "system_sequence_prefix": "", | ||
| 11 | "system_sequence_suffix": "", | ||
| 12 | "first_output_sequence": "", | ||
| 13 | "skip_examples": false, | ||
| 14 | "output_suffix": "<|im_end|>", | ||
| 15 | "input_suffix": "<|im_end|>", | ||
| 16 | "system_suffix": "<|im_end|>", | ||
| 17 | "user_alignment_message": "", | ||
| 18 | "system_same_as_user": false, | ||
| 19 | "last_system_sequence": "", | ||
| 20 | "first_input_sequence": "", | ||
| 21 | "last_input_sequence": "", | ||
| 22 | "names_behavior": "force", | ||
| 23 | "name": "Moonshot AI" | ||
| 24 | } | ||