Chatbot Start Prompt for GPT-J
HelloI’m using GPT-J (EleutherAI/gpt-j-6B) as a chatbot. As a prompt, I provide a sample conversation as shown below. When now a new conversation starts, I append the input of the user to this sample conversation (“Hello, how are you doing?” in the example below).Now, the problem is that the conversation is sometimes inconsistent because GPT-J might want to continue the sample conversation but the new user input could break that.How can this be solved?This is a discussion between a Human and a Chatbot.Human:Can you do push-ups?Chatbot:Of course I can. It’s a piece of cake! Believe it or not, I can do 30 push-ups a minute.Human:Really? I think that’s impossible!Chatbot:You mean 30 push-ups?Human:Yeah!Chatbot:It’s easy. If you do exercise everyday, you can make it, too.Human:Hello, how are you doing?Chatbot:
2022-09-30T21:42:26Z
Does somebody have an idea?
2022-10-28T21:21:01Z
No hints or tips?
2022-10-29T10:14:00Z
you may add some example conversations/episodes as few-shots, which can lead the model to generate much better. also you need a special line or token to seperate each episode incase the information in previous episodes been used in the last one
2022-10-31T00:23:36Z
Thank you very much for your answer. How many conversations and how many turns per conversation do you think are reasonable given the restricted history of 2024 tokens and that I also want to store the history of the conversation?What special line / token would you use?