Hi,
I’m trying to fine tune a model, but for some reason, it always fails and tells me that my file does not appear to be in valid JSON format.
I have tried both .jsonl and .json, but both fail. I am running the following:
openai tools fine_tunes.prepare_data -f my_file.json
Here are a few examples that I tried, the only difference is formatting, hopefully that will be reflected here:
{
"prompt": "Hi, I can't connect to the board. Can you please help? I'm in SS4. Thank you, Adam",
"completion": "Hello Adam, We will try to get someone to see you as quickly as possible, but in the mean time, please try the following: Make sure that the docking station is receiving power. You can tell by the small light visible on the docking station after you connect your device to it."
}
and
{
"prompt": "Hi, I can't connect to the board. Can you please help? I'm in SS4. Thank you, Adam",
"completion": "Hello Adam, We will try to get someone to see you as quickly as possible, but in the mean time, please try the following: Make sure that the docking station is receiving power. You can tell by the small light visible on the docking station after you connect your device to it."
}
and
{"prompt": "Hi, I can't connect to the board. Can you please help? I'm in SS4. Thank you, Adam", "completion": "Hello Adam, We will try to get someone to see you as quickly as possible, but in the mean time, please try the following: Make sure that the docking station is receiving power. You can tell by the small light visible on the docking station after you connect your device to it."}
Any ideas what’s wrong with the file?