I browsed a post or two here, such as this one. The linked video that “really helps” no longer exists.
I’ll hunt around on YouTube. I’ve also posted to the Discord mess.
The story goes …
I’ve uninstalled OpenAI on my Mac and am going to restart with a pRam reset.
- I’m then going to pip3 install openai.
- Next, I’ll cd to a folder with a .py file in it.
- That file will ask about France and the API will respond with “Paris” or whatever.
Great. It did a thing! I suppose that means I’m good to go, right?
Wrong.
I have solid fine-tuning data that I spent all day yesterday building. Carefully.
And no matter what I do, I can’t upload it to the API.
The commands on this page return OpenAI “can’t find function”, “syntax error”, “OpenAI doesn’t even know how it’s installed so anyhow good luck and enjoy your breakfast maybe just pour a soda onto your keyboard” type responses.
What gives?
If anybody has a PHP file that can do the work via a form, I’d love to run that instead.
In the end, my hope is to run the following command …
openai api fine_tunes.create -t <TRAIN_FILE_ID_OR_PATH> -m curie --suffix <CUSTOM_NAME>
Again, a PHP curl script would be HUGELY welcome.
UPDATE: Here’s what I get from the pip3 install (note the errors)
pip3 install openai
Defaulting to user installation because normal site-packages is not writeable
Collecting openai
Using cached openai-0.26.4.tar.gz (55 kB)
WARNING: Value for prefixed-purelib does not match. Please report this to https://github.com/pypa/pip/issues/10151
distutils: /private/var/folders/_y/vglg_5w11zxbnzybjf_knjmh0000gp/T/pip-build-env-pyrh4i9a/normal/lib/python3.9/site-packages
sysconfig: /Library/Python/3.9/site-packages
WARNING: Value for prefixed-platlib does not match. Please report this to https://github.com/pypa/pip/issues/10151
distutils: /private/var/folders/_y/vglg_5w11zxbnzybjf_knjmh0000gp/T/pip-build-env-pyrh4i9a/normal/lib/python3.9/site-packages
sysconfig: /Library/Python/3.9/site-packages
WARNING: Additional context:
… and it just gets uglier.