mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Merge pull request #3329 from kallewoof/202501-deepseek-presets
add presets for DeepSeek R1 models
This commit is contained in:
@@ -782,5 +782,13 @@
|
|||||||
{
|
{
|
||||||
"filename": "presets/context/Mistral V7.json",
|
"filename": "presets/context/Mistral V7.json",
|
||||||
"type": "context"
|
"type": "context"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "presets/instruct/DeepSeek-V2.5.json",
|
||||||
|
"type": "instruct"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"filename": "presets/context/DeepSeek-V2.5.json",
|
||||||
|
"type": "context"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
11
default/content/presets/context/DeepSeek-V2.5.json
Normal file
11
default/content/presets/context/DeepSeek-V2.5.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"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",
|
||||||
|
"example_separator": "",
|
||||||
|
"chat_start": "",
|
||||||
|
"use_stop_strings": false,
|
||||||
|
"allow_jailbreak": false,
|
||||||
|
"always_force_name2": true,
|
||||||
|
"trim_sentences": false,
|
||||||
|
"single_line": false,
|
||||||
|
"name": "DeepSeek-V2.5"
|
||||||
|
}
|
22
default/content/presets/instruct/DeepSeek-V2.5.json
Normal file
22
default/content/presets/instruct/DeepSeek-V2.5.json
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"input_sequence": "<|User|>",
|
||||||
|
"output_sequence": "<|Assistant|>",
|
||||||
|
"first_output_sequence": "",
|
||||||
|
"last_output_sequence": "",
|
||||||
|
"system_sequence_prefix": "",
|
||||||
|
"system_sequence_suffix": "",
|
||||||
|
"stop_sequence": "",
|
||||||
|
"wrap": false,
|
||||||
|
"macro": true,
|
||||||
|
"names_behavior": "force",
|
||||||
|
"activation_regex": "",
|
||||||
|
"skip_examples": false,
|
||||||
|
"output_suffix": "<|end▁of▁sentence|>",
|
||||||
|
"input_suffix": "",
|
||||||
|
"system_sequence": "",
|
||||||
|
"system_suffix": "",
|
||||||
|
"user_alignment_message": "",
|
||||||
|
"last_system_sequence": "",
|
||||||
|
"system_same_as_user": true,
|
||||||
|
"name": "DeepSeek-V2.5"
|
||||||
|
}
|
@@ -59,6 +59,11 @@ const hash_derivations = {
|
|||||||
// Tulu-3-8B
|
// Tulu-3-8B
|
||||||
// Tulu-3-70B
|
// Tulu-3-70B
|
||||||
'Tulu'
|
'Tulu'
|
||||||
|
,
|
||||||
|
|
||||||
|
// DeepSeek R1
|
||||||
|
'b6835114b7303ddd78919a82e4d9f7d8c26ed0d7dfc36beeb12d524f6144eab1':
|
||||||
|
'DeepSeek-R1'
|
||||||
};
|
};
|
||||||
|
|
||||||
const substr_derivations = {
|
const substr_derivations = {
|
||||||
|
Reference in New Issue
Block a user