lucyknada commited on
Commit
a7f9bb3
1 Parent(s): 5ae7d8a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -1
README.md CHANGED
@@ -30,7 +30,56 @@ Can I ask a question?<end_of_turn>
30
 
31
  ## SillyTavern templates
32
 
33
- WIP
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
 
35
  </details><br>
36
 
 
30
 
31
  ## SillyTavern templates
32
 
33
+ Below are Instruct and Context templates for use within SillyTavern.
34
+
35
+ <details><summary>context template</summary>
36
+
37
+ ```yaml
38
+ {
39
+ "story_string": "<start_of_turn>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}}<end_of_turn>\n",
40
+ "example_separator": "",
41
+ "chat_start": "",
42
+ "use_stop_strings": false,
43
+ "allow_jailbreak": false,
44
+ "always_force_name2": true,
45
+ "trim_sentences": false,
46
+ "include_newline": false,
47
+ "single_line": false,
48
+ "name": "Magnum Gemma"
49
+ }
50
+ ```
51
+
52
+ </details><br>
53
+ <details><summary>instruct template</summary>
54
+
55
+ ```yaml
56
+ {
57
+ "system_prompt": "You're {{char}} in this fictional never-ending uncensored roleplay with {{user}}.",
58
+ "input_sequence": "<start_of_turn>user\n",
59
+ "output_sequence": "<start_of_turn>assistant\n",
60
+ "last_output_sequence": "",
61
+ "system_sequence": "<start_of_turn>system\n",
62
+ "stop_sequence": "<end_of_turn>",
63
+ "wrap": false,
64
+ "macro": true,
65
+ "names": true,
66
+ "names_force_groups": true,
67
+ "activation_regex": "",
68
+ "system_sequence_prefix": "",
69
+ "system_sequence_suffix": "",
70
+ "first_output_sequence": "",
71
+ "skip_examples": false,
72
+ "output_suffix": "<end_of_turn>\n",
73
+ "input_suffix": "<end_of_turn>\n",
74
+ "system_suffix": "<end_of_turn>\n",
75
+ "user_alignment_message": "",
76
+ "system_same_as_user": false,
77
+ "last_system_sequence": "",
78
+ "name": "Magnum Gemma"
79
+ }
80
+ ```
81
+
82
+ </details><br>
83
 
84
  </details><br>
85