-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Ignore repeated prompt #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Doesn't seem to work for me, I tried it with a movie that starts with music and it still fell into a bad hallucination/failure loop 🤷♂️ |
|
Works well, and the users reported positive experience with this PR. |
Can you share the movie you tried it with |
|
A different style for that block but with the same behavior: ...and But if someone only needs to check the latest text (i.e. max_repetitions=1), it can be reduced to this: At first I thought what you wanted was already addressed by the So what you're doing is another type of penalty, discouraging repeating sentences/segment texts (formed by many tokens) rather than penalizing individual tokens. Very useful. Edit: I guess kinda like a dynamic |
Same with openai/whisper#1253