Merge pull request #3329 from kallewoof/202501-deepseek-presets add presets for DeepSeek R1 models
Signed| @@ -782,5 +782,13 @@ | ||
| 782 | 782 | { |
| 783 | 783 | "filename": "presets/context/Mistral V7.json", |
| 784 | 784 | "type": "context" |
| 785 | + }, | |
| 786 | + { | |
| 787 | + "filename": "presets/instruct/DeepSeek-V2.5.json", | |
| 788 | + "type": "instruct" | |
| 789 | + }, | |
| 790 | + { | |
| 791 | + "filename": "presets/context/DeepSeek-V2.5.json", | |
| 792 | + "type": "context" | |
| 785 | 793 | } |
| 786 | 794 | ] |
| @@ -0,0 +1,11 @@ | ||
| 1 | +{ | |
| 2 | + "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}}{{trim}}\n", | |
| 3 | + "example_separator": "", | |
| 4 | + "chat_start": "", | |
| 5 | + "use_stop_strings": false, | |
| 6 | + "allow_jailbreak": false, | |
| 7 | + "always_force_name2": true, | |
| 8 | + "trim_sentences": false, | |
| 9 | + "single_line": false, | |
| 10 | + "name": "DeepSeek-V2.5" | |
| 11 | +} | |
| @@ -0,0 +1,22 @@ | ||
| 1 | +{ | |
| 2 | + "input_sequence": "<|User|>", | |
| 3 | + "output_sequence": "<|Assistant|>", | |
| 4 | + "first_output_sequence": "", | |
| 5 | + "last_output_sequence": "", | |
| 6 | + "system_sequence_prefix": "", | |
| 7 | + "system_sequence_suffix": "", | |
| 8 | + "stop_sequence": "", | |
| 9 | + "wrap": false, | |
| 10 | + "macro": true, | |
| 11 | + "names_behavior": "force", | |
| 12 | + "activation_regex": "", | |
| 13 | + "skip_examples": false, | |
| 14 | + "output_suffix": "<|end▁of▁sentence|>", | |
| 15 | + "input_suffix": "", | |
| 16 | + "system_sequence": "", | |
| 17 | + "system_suffix": "", | |
| 18 | + "user_alignment_message": "", | |
| 19 | + "last_system_sequence": "", | |
| 20 | + "system_same_as_user": true, | |
| 21 | + "name": "DeepSeek-V2.5" | |
| 22 | +} | |
| @@ -59,6 +59,11 @@ const hash_derivations = { | ||
| 59 | 59 | // Tulu-3-8B |
| 60 | 60 | // Tulu-3-70B |
| 61 | 61 | 'Tulu' |
| 62 | + , | |
| 63 | + | |
| 64 | + // DeepSeek R1 | |
| 65 | + 'b6835114b7303ddd78919a82e4d9f7d8c26ed0d7dfc36beeb12d524f6144eab1': | |
| 66 | + 'DeepSeek-R1' | |
| 62 | 67 | }; |
| 63 | 68 | |
| 64 | 69 | const substr_derivations = { |