|
--- |
|
tags: |
|
- roleplay |
|
--- |
|
|
|
> [!WARNING] |
|
> **Alpaca template is currently broken.**<br> |
|
> **More work to be done with samplers, both of the included samplers break formatting. :|** |
|
|
|
> [!IMPORTANT] |
|
> **Currently reworking the templates for v1.6**<br> |
|
|
|
Thanks to [shrinkedd](https://www.reddit.com/r/SillyTavernAI/comments/1ca4xo8/ive_thought_of_a_way_to_decrease_chances_of/) for some ideas. |
|
|
|
### SillyTavern Presets |
|
|
|
# Usage |
|
|
|
Make sure to grab both context and instruct templates. |
|
It should look something like this. |
|
|
|
<img src="https://huggingface.co./Virt-io/SillyTavern-Presets/resolve/main/Images/Silly_Tavern_preset.png"> |
|
|
|
When using these presets you must set **Example Messages Behavior: Never include examples** otherwise they will be sent twice. |
|
|
|
<img src="https://huggingface.co./Virt-io/SillyTavern-Presets/resolve/main/Images/ExampleMessages.png"> |
|
|
|
The reason for this, is because I explicitly set for them to be sent. The default behavior is for them to just be added at the end of the context prompt. |
|
|
|
|
|
# Samplers |
|
|
|
**I have decided to remove old samplers and only keep basic presets, I want people to play around and find what works best for them. Change context to desired context length** |
|
|
|
**[Dynamic-Temp]Roleplay has a tendency to break asterisk formatting, however is also stops alot of the GPTism.** |
|
|
|
[SillyTavern Docs](https://docs.sillytavern.app/usage/common-settings/#sampler-parameters) |
|
|
|
**Temperature** |
|
Feel free to play with this one, lower values are more grounded. |
|
|
|
**Min-P** |
|
Higher values chop off more probabilities. |
|
|
|
|
|
Values between 0.025 - 0.10 are good, personally I would use 0.075 or lower. |
|
|
|
**Repetition Penalty** |
|
Tries to decrease repetition. |
|
|
|
|
|
Do not set it higher than 1.2. |
|
|
|
|
|
1.05 - 1.15 seem to work fine. |
|
|
|
**Rep Pen Range** |
|
The range of tokens which Repetition Penalty can see. |
|
I have it set to 2048. |
|
|
|
**Frequency Penalty** |
|
Decreases repetition. |
|
|
|
**Presence Penalty** |
|
Increases word variety. |
|
|
|
**Dynamic Temperature** |
|
Min and Max temps, free to change as desired. |
|
|
|
|
|
Exponent, do not set Exponent higher than the default of 1. |
|
|
|
|
|
You might want to try playing around and setting it lower than 1, this pushes lower probabilies higher. |
|
|
|
|
|
When setting exponent lower than 1, set Min-P a little higher (0.075) |
|
|
|
**Smooth Sampling** |
|
This one is great, smoothens out probabilities. |
|
|
|
|
|
Lower is more diverse. |
|
|
|
|
|
Recommended range 0.1 - 0.3 |
|
|
|
|
|
# Character Cards |
|
|
|
**The follwing is just personal preference.** |
|
|
|
|
|
I have provided an Assistant card to help with creating characters. As well as an example card. |
|
|
|
|
|
|
|
<img src="https://huggingface.co./Virt-io/SillyTavern-Presets/resolve/main/Images/Character_Cards_01.png"> |
|
|
|
|
|
|
|
**Personality summary** |
|
|
|
Use a P-list |
|
|
|
**Scenario** |
|
|
|
Write a short, concise summary of the overall scenario. |
|
|
|
**Examples of dialogue** |
|
|
|
Use Ali-Chat |
|
|
|
This is to enforce formatting and add character lore. |
|
|
|
**Description** |
|
|
|
Any extra information. |
|
|
|
**First message** |
|
|
|
Never write {{user}} dialogue or actions. |
|
|
|
Have both speech and narration. |
|
|