Merge pull request #3117 from kallewoof/202411-tulu Add Tulu templates
Signed| @@ -628,6 +628,14 @@ | |||
| 628 | "type": "instruct" | 628 | "type": "instruct" |
| 629 | }, | 629 | }, |
| 630 | { | 630 | { |
| 631 | "filename": "presets/instruct/Tulu.json", | ||
| 632 | "type": "instruct" | ||
| 633 | }, | ||
| 634 | { | ||
| 635 | "filename": "presets/context/Tulu.json", | ||
| 636 | "type": "context" | ||
| 637 | }, | ||
| 638 | { | ||
| 631 | "filename": "presets/instruct/Vicuna 1.0.json", | 639 | "filename": "presets/instruct/Vicuna 1.0.json", |
| 632 | "type": "instruct" | 640 | "type": "instruct" |
| 633 | }, | 641 | }, |
| @@ -0,0 +1,11 @@ | |||
| 1 | { | ||
| 2 | "story_string": "<|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}}{{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": "Tulu" | ||
| 11 | } | ||
| @@ -0,0 +1,22 @@ | |||
| 1 | { | ||
| 2 | "input_sequence": "<|user|>\n", | ||
| 3 | "output_sequence": "<|assistant|>\n", | ||
| 4 | "first_output_sequence": "", | ||
| 5 | "last_output_sequence": "", | ||
| 6 | "system_sequence_prefix": "", | ||
| 7 | "system_sequence_suffix": "", | ||
| 8 | "stop_sequence": "<|end_of_text|>", | ||
| 9 | "wrap": false, | ||
| 10 | "macro": true, | ||
| 11 | "names_behavior": "always", | ||
| 12 | "activation_regex": "", | ||
| 13 | "skip_examples": false, | ||
| 14 | "output_suffix": "<|end_of_text|>\n", | ||
| 15 | "input_suffix": "", | ||
| 16 | "system_sequence": "<|system|>\n", | ||
| 17 | "system_suffix": "", | ||
| 18 | "user_alignment_message": "", | ||
| 19 | "last_system_sequence": "", | ||
| 20 | "system_same_as_user": false, | ||
| 21 | "name": "Tulu" | ||
| 22 | } | ||
| @@ -53,6 +53,12 @@ const hash_derivations = { | |||
| 53 | // command-r-08-2024 | 53 | // command-r-08-2024 |
| 54 | 'Command R' | 54 | 'Command R' |
| 55 | , | 55 | , |
| 56 | |||
| 57 | // Tulu | ||
| 58 | 'ac7498a36a719da630e99d48e6ebc4409de85a77556c2b6159eeb735bcbd11df': | ||
| 59 | // Tulu-3-8B | ||
| 60 | // Tulu-3-70B | ||
| 61 | 'Tulu' | ||
| 56 | }; | 62 | }; |
| 57 | 63 | ||
| 58 | const substr_derivations = { | 64 | const substr_derivations = { |