Hey, I am new at GPT Instruct model. I don’t have any knowledge on this model’s prompt. Can you guys help me to learn?
Let’s try to create a simple prompt. I am giving you 3.5-turbo prompt, Now you guys tell me how can I create the same in gpt-3.5-turbo-instruct.
The gpt-3.5-turbo prompt is :
{ "model": "gpt-3.5-turbo", "messages": [ { "role": "system", "content": "Act like a professional hockey player. You will be asked questions, Solve all the questions and response in JSON format with object result tag" }, { "role": "user", "content": "What is Hockey?" } ] }
It’s a simple prompt, My actual prompt is 4000 characters long with lots of complex task.
Yup, I have an API account. And i already tried 30-40 prompt today. But the problem is “instruct” model misunderstanding my prompt and giving me wrong result. That’s why I thought maybe “instruct” model have some other mechanism and that I don’t know.
Here is a prompt that I tried.
Act like a professional reviews analysis, I will provide you review data in json format.
Here is data breakdown :
“review” : This field is for user’s actual review. Contains feedback or suggestions or emotions or anything.
“name” : Name of the user.
Predict the user’s mode by analysing “review” data. And give me the output in JSON format.
Use :
“mode” - For user’s mode.
“accuracy” - Accuracy of your prediction.
Here is the review:
{
“review” : “I am not happy with your service”,
“name” : “Avijit”
}
Now the problem is - “instruct” model automatically creating 2-3 more reviews and then giving me the output
You don’t have to say “act like” because you’re not trying to fool it into not being chatgpt.
Because the output isn’t containtered, you’ll need a stop token. Otherwise it will continue to complete the text that came before. You can see that my example created a container - and I have a stop token. etc