Skip to content
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

Bot Keeps reciting chat and won't stop giving answers #7

Open
fetixfox opened this issue Aug 23, 2021 · 1 comment
Open

Bot Keeps reciting chat and won't stop giving answers #7

fetixfox opened this issue Aug 23, 2021 · 1 comment

Comments

@fetixfox
Copy link

title is explanatory

@wisplite
Copy link

wisplite commented Dec 24, 2021

A bit late, but I recently set up this project, and managed to fix that. Any line that looks like this:
image
I changed the temperature from "0.9" to "1" and it stopped repeating itself.

GPT-2 tends to repeat itself and get stuck in a loop if the temperature is too low.
I would recommend playing around with that number until you get a balance between good results and not repeating itself.

(every line you need to change the temperature on starts with the word "results", as it's a variable, so just search for that in whatever code editor you are using, and change the temperature options).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants