ToastyPigeon
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
This repo contains my preferred SillyTavern settings for Mistral Small models.
|
2 |
+
|
3 |
+
Mistral Small is a fantastic model, but its user/assistant turn structure means that the context/prompt composed by SillyTavern can mess up the instruct formatting for things like Lorebook/World Info injection or Author's Note injection, or result in repeated Assistant or User turns that can confuse the model.
|
4 |
+
|
5 |
+
I've had the best luck composing the context as a **single user turn**, asking the model to respond to what's essentially a very long single-turn prompt.
|
6 |
+
|
7 |
+
The composed context tends to look something like this:
|
8 |
+
```
|
9 |
+
<s>[INST] System prompt: Use the following information to write {{char}}'s next response in the Exchange below.
|
10 |
+
|
11 |
+
Character description
|
12 |
+
Persona description
|
13 |
+
Scenario description
|
14 |
+
World Info
|
15 |
+
|
16 |
+
Exchange:
|
17 |
+
{{char}}: First message
|
18 |
+
{{user}}: First response
|
19 |
+
{{char}}: Second message
|
20 |
+
{{user}}: Second response
|
21 |
+
|
22 |
+
Author's Note: Write 2 paragraphs using vivid and natural prose.[/INST] {{char}}:
|
23 |
+
```
|
24 |
+
|
25 |
+
This prevents issues from AN/WI insertions, and avoids problems with repeated turns depending on whether the first message in the chat is from the Character or the User.
|
26 |
+
|
27 |
+
When using AN with this template, it should work correctly with Before/After Story String insertion. For more immediate insertion, Depth 1 (as shown in the example above) is least likely to confuse the model by interrupting the chat history.
|