Hello! I need help from you no-coders.
As the title says, I try to fine-tunig GPT-3 for OpenAI, but I’m having trouble generating the
JSONL training data without code in the first step “Prepare training data”.
I used this converter to convert CSV to JSONL, but when I request the file endpoint in Postman, it returns the following error.
part of my training data
{"prompt":"My stomach is growling","completion":"Would you like something to eat?"}
{"prompt":"I feel tired","completion":"That is a concern. If there is anything I can do for you, please let me know."}
Error message
{
"error": {
"message": "Expected file to have JSONL format, where every line is a JSON dictionary. Line 1 is not a dictionary (HINT: line starts with: \"{\"p...\").",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
It says that there are some newlines at the beginning of the file. But the content is fine according to the JONLint.
What should I do? I am eagerly awaiting your advice.
Thank you.
【Solved.】
I changed Unicode from UTF-8 with Bom to UTF-8 without BOM, so the file upload was successful.
It seemed to be related to the fact that I was creating training data in Japanese…
Thanks everyone.