yourAI icon indicating copy to clipboard operation
yourAI copied to clipboard

Bot Keeps reciting chat and won't stop giving answers

Open fetixfox opened this issue 4 years ago • 1 comments

title is explanatory

fetixfox avatar Aug 23 '21 12:08 fetixfox

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).

wisplite avatar Dec 24 '21 23:12 wisplite