<< Home | Prompting craft
Eliminate specific repetitive words and phrases
| Area | Prompting craft |
| AI used | Any model supporting OpenAI API |
| Source | Reddit thread |
| Posted | 2025-09-21 |
The move
Apply a -100 logit bias to specific tokens to force the model to avoid them.Steps
- Open the model's Logit Bias settings menu.
- Identify the specific tokens for the words you want to ban.
- Enter the tokens into the bias list.
- Set the bias value to -100 for each token.
Prompt for your AI
Set logit bias to -100 for unwanted tokens.
What happened
A user was frustrated by repetitive phrases like 'calloused hands' and 'salty sweat' appearing in model responses. They discovered that using Logit Bias with a value of -100 effectively bans these specific tokens. Another user confirmed this successfully removed unwanted words like 'hitches' and 'catches' from their outputs.Who confirmed it
Since implementing this, I haven't encountered a response beginning with 'her breath hitches' or 'catches' at all.Watch out
Effectiveness varies by model; cannot ban pronouns generically; requires manual token identification.Give it to your agent
Read https://howtheyuse.ai/p/eliminate-specific-repetitive-words-and-phrases.md and help me do this.