Update ChatML templates

This commit is contained in:
Cohee 2024-03-29 19:40:06 +02:00
parent 06d1369f58
commit 8b0fde21d4
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
{
"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}}",
"story_string": "<|im_start|>system\n{{#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}}<|im_end|>",
"example_separator": "",
"chat_start": "",
"use_stop_strings": false,
@ -9,4 +9,4 @@
"include_newline": false,
"single_line": false,
"name": "ChatML"
}
}

View File

@ -4,14 +4,14 @@
"output_sequence": "\n<|im_start|>assistant\n",
"last_output_sequence": "",
"system_sequence": "\n<|im_start|>system\n",
"stop_sequence": "",
"stop_sequence": "<|im_end|>",
"wrap": false,
"macro": true,
"names": true,
"names_force_groups": true,
"activation_regex": "",
"system_sequence_prefix": "<|im_start|>system\n",
"system_sequence_suffix": "<|im_end|>",
"system_sequence_prefix": "",
"system_sequence_suffix": "",
"first_output_sequence": "",
"skip_examples": false,
"output_suffix": "<|im_end|>",
@ -20,4 +20,4 @@
"user_alignment_message": "",
"system_same_as_user": false,
"name": "ChatML"
}
}