update dreamgen presets (#4683) * update dreamgen presets * remove dreamgen presets * remove dreamgen presets

4e428c938da76b8395a90b4c52472f6c45244463

DreamGenX <157678800+DreamGenX@users.noreply.github.com>

Signed
7 files changed, +3 -103Showing whitespace changes
default/content/index.json+0 -16
@@ -308,14 +308,6 @@
308308 "type": "context"
309309 },
310310 {
311- "filename": "presets/context/DreamGen Role-Play V1 ChatML.json",
312- "type": "context"
313- },
314- {
315- "filename": "presets/context/DreamGen Role-Play V1 Llama3.json",
316- "type": "context"
317- },
318- {
319311 "filename": "presets/context/Libra-32B.json",
320312 "type": "context"
321313 },
@@ -388,14 +380,6 @@
388380 "type": "instruct"
389381 },
390382 {
391- "filename": "presets/instruct/DreamGen Role-Play V1 ChatML.json",
392- "type": "instruct"
393- },
394- {
395- "filename": "presets/instruct/DreamGen Role-Play V1 Llama3.json",
396- "type": "instruct"
397- },
398- {
399383 "filename": "presets/instruct/Koala.json",
400384 "type": "instruct"
401385 },
default/content/presets/context/DreamGen Role-Play V1 ChatML.json+0 -14
@@ -1,14 +0,0 @@
1-{
2- "story_string": "{{#if anchorBefore}}{{anchorBefore}}\n{{/if}}{{#if system}}{{system}}\n\n\n{{/if}}## Overall plot description:\n\n{{#if scenario}}{{scenario}}{{else}}Conversation between {{char}} and {{user}}.{{/if}}{{#if wiBefore}}\n\n{{wiBefore}}{{/if}}\n\n\n## Characters:\n\n### {{char}}\n\n{{#if description}}{{description}}\n\n{{/if}}{{#if personality}}{{personality}}\n\n{{/if}}### {{user}}\n\n{{#if persona}}{{persona}}{{else}}{{user}} is the protagonist of the role-play.{{/if}}{{#if wiAfter}}\n\n{{wiAfter}}{{/if}}{{#if mesExamples}}\n\n{{mesExamples}}{{/if}}{{#if anchorAfter}}{{anchorAfter}}\n{{/if}}{{trim}}",
3- "example_separator": "",
4- "chat_start": "",
5- "use_stop_strings": false,
6- "names_as_stop_strings": true,
7- "story_string_position": 0,
8- "story_string_depth": 1,
9- "story_string_role": 0,
10- "always_force_name2": false,
11- "trim_sentences": true,
12- "single_line": false,
13- "name": "DreamGen Role-Play V1 ChatML"
14-}
default/content/presets/context/DreamGen Role-Play V1 Llama3.json+0 -14
@@ -1,14 +0,0 @@
1-{
2- "story_string": "{{#if anchorBefore}}{{anchorBefore}}\n{{/if}}{{#if system}}{{system}}\n\n\n{{/if}}## Overall plot description:\n\n{{#if scenario}}{{scenario}}{{else}}Conversation between {{char}} and {{user}}.{{/if}}{{#if wiBefore}}\n\n{{wiBefore}}{{/if}}\n\n\n## Characters:\n\n### {{char}}\n\n{{#if description}}{{description}}\n\n{{/if}}{{#if personality}}{{personality}}\n\n{{/if}}### {{user}}\n\n{{#if persona}}{{persona}}{{else}}{{user}} is the protagonist of the role-play.{{/if}}{{#if wiAfter}}\n\n{{wiAfter}}{{/if}}{{#if mesExamples}}\n\n{{mesExamples}}{{/if}}{{#if anchorAfter}}{{anchorAfter}}\n{{/if}}{{trim}}",
3- "example_separator": "<|eot_id|>\n<|start_header_id|>user<|end_header_id|>\n\nWrite an example narrative / conversation that is not part of the main story.",
4- "chat_start": "<|eot_id|>\n<|start_header_id|>user<|end_header_id|>\n\nStart the role-play between {{char}} and {{user}}.",
5- "use_stop_strings": false,
6- "names_as_stop_strings": true,
7- "story_string_position": 0,
8- "story_string_depth": 1,
9- "story_string_role": 0,
10- "always_force_name2": false,
11- "trim_sentences": true,
12- "single_line": false,
13- "name": "DreamGen Role-Play V1 Llama3"
14-}
default/content/presets/instruct/DreamGen Role-Play V1 ChatML.json+0 -25
@@ -1,25 +0,0 @@
1-{
2- "input_sequence": "\n<|im_start|>text names= {{name}}\n",
3- "output_sequence": "\n<|im_start|>text names= {{name}}\n",
4- "last_output_sequence": "",
5- "system_sequence": "",
6- "stop_sequence": "\n<|im_start|>",
7- "wrap": false,
8- "macro": true,
9- "names_behavior": "none",
10- "activation_regex": "",
11- "first_output_sequence": "",
12- "skip_examples": false,
13- "output_suffix": "<|im_end|>",
14- "input_suffix": "<|im_end|>",
15- "system_suffix": "",
16- "user_alignment_message": "",
17- "system_same_as_user": true,
18- "last_system_sequence": "",
19- "first_input_sequence": "",
20- "last_input_sequence": "",
21- "sequences_as_stop_strings": true,
22- "story_string_prefix": "<|im_start|>system\n",
23- "story_string_suffix": "<|im_end|>",
24- "name": "DreamGen Role-Play V1 ChatML"
25-}
default/content/presets/instruct/DreamGen Role-Play V1 Llama3.json+0 -25
@@ -1,25 +0,0 @@
1-{
2- "input_sequence": "<|eot_id|>\n<|start_header_id|>writer character: {{user}}<|end_header_id|>\n\n",
3- "output_sequence": "<|eot_id|>\n<|start_header_id|>writer character: {{char}}<|end_header_id|>\n\n",
4- "last_output_sequence": "",
5- "system_sequence": "",
6- "stop_sequence": "",
7- "wrap": false,
8- "macro": true,
9- "names_behavior": "none",
10- "activation_regex": "",
11- "first_output_sequence": "",
12- "skip_examples": false,
13- "output_suffix": "",
14- "input_suffix": "",
15- "system_suffix": "",
16- "user_alignment_message": "",
17- "system_same_as_user": false,
18- "last_system_sequence": "",
19- "first_input_sequence": "",
20- "last_input_sequence": "",
21- "sequences_as_stop_strings": true,
22- "story_string_prefix": "<|start_header_id|>system<|end_header_id|>\n",
23- "story_string_suffix": "",
24- "name": "DreamGen Role-Play V1 Llama3"
25-}
public/scripts/textgen-models.js+2 -8
@@ -929,15 +929,9 @@ export function getCurrentOpenRouterModelTokenizer() {
929929export function getCurrentDreamGenModelTokenizer() {
930930 const modelId = textgen_settings.dreamgen_model;
931931 const model = dreamGenModels.find(x => x.id === modelId);
932932 if (model.id.startsWith('opuslucid-v1-smmedium') || model.id.startsWith('lucid-v1-base')) {
933933 return tokenizers.MISTRAL;
934934 } else if (model.id.startsWith('opuslucid-v1-lgextra-large') || model.id.startsWith('lucid-v1-max')) {
935- return tokenizers.YI;
936- } else if (model.id.startsWith('opus-v1-xl')) {
937- return tokenizers.LLAMA;
938- } else if (model.id.startsWith('lucid-v1-medium')) {
939- return tokenizers.NEMO;
940- } else if (model.id.startsWith('lucid-v1-extra-large')) {
941935 return tokenizers.LLAMA3;
942936 } else {
943937 return tokenizers.MISTRAL;
public/scripts/textgen-settings.js+1 -1
@@ -210,7 +210,7 @@ const settings = {
210210 openrouter_providers: [],
211211 vllm_model: '',
212212 aphrodite_model: '',
213213 dreamgen_model: 'opuslucid-v1-xlextra-large/text',
214214 tabby_model: '',
215215 sampler_order: KOBOLDCPP_ORDER,
216216 logit_bias: [],