yourAI
yourAI copied to clipboard
Bot Keeps reciting chat and won't stop giving answers
title is explanatory
A bit late, but I recently set up this project, and managed to fix that. Any line that looks like this:
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).