Coping with Slaude
Spermack, 3.2k context token, Single and Unfiltered Response from Claude
If you want to hope: https://rentry.org/slaudehope
For slowburners: https://rentry.org/hn3bd
Why still Cope with Slaude?
Advantages:
- Better in roleplay than Local or Turbo.
Disadvantages:
- Low context size. Use character cards with less tokens if you favor more chat memory.
- Short response. It is to ensure that more messages are stored within the low context memory.
Steps:
1. Install Spermack
https://github.com/AmmoniaM/Spermack
Claude in Threads only stores ~7,500 chars (1.7k tokens) from my testing. Claude in DMs can read up to max message limit (12k chars or 2.7k tokens). In addition, you can increase the message limit to around 13-14k characters since Slack allows leeway in their API message with 1k+ over the message limit.
2. Modify Spermack
I modified Spermack so that we only need to send one message to Claude DM. This is to ensure that all context within the message are stored. I was able to test by manually sending two messages that add up to 3.7k tokens to Claude and it still remembered context from the first message but I don't know how to make it work consistently through SillyTavern.
Replace Spermack files with the ff:
- config.js: https://files.catbox.moe/fhk47m.js
Changes: Changed User role to A, Assistant role to B, and removed System role, jailbreaks, and retries. - utils.js: https://files.catbox.moe/81ts6m.js
Changes: Removed the split message code so that it forces to send only one message. If there is a blank response from SillyTavern, lower your context size (3,200 context tokens). Automatically removes blank newlines and asterisks to save character space.
3. Change SillyTavern Settings
XML tags with gaslight will be used to prompt. This is to ensure Claude will respond once and unfiltered by enforcing <requirements>
, adding <ban>
, and gaslight prompt at the end. Enable Streaming with Legacy Streaming can be turned on.
Prompts and Order:
- Enhance Definitions (Disabled)
- Main Prompt:
- Char Description
- Char Personality
- Chat Examples
- NSFW Prompt:
- Persona Description
- World Info (before)
- Scenario
- World Info (after)
- Chat History
- Jailbreak Prompt (~1475 chars):
Old JBs: https://rentry.org/gy5gp
With Acceptable Use Policy warning not triggering, It can hopefully not get you banned.
If you still trigger the warnings, just add more math-related questions inside <ignore>.
Regex Settings:
Find Regex | Replace With |
---|---|
/z[0-9]{1,3}z/g |
(empty) |
Utility Prompts:
- New Example Chat
- New Chat
- New Group Chat
The prompt format will look like this:
Enjoy!
Credits:
- AmmoniaM/Barbiariskaa for Spermack
- KaruKaru for XML JB base
- raremew for JB
- slowburner slaude coper
- Anon#96345620