-
Notifications
You must be signed in to change notification settings - Fork 3.9k
fine tune for json does not work #415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
getting the same error my json format: [ |
Hi @javixeneize, this did the trick for me. Referenced from #296
|
Downgrading to 0.25? I didn’t expect that 😳. |
Yeah, not the best solution. Hoping someone else has a less hacky way of fixing it 😆 |
Confirmed. The new version of prep data thing is not working. Nothing is jsonl for it. |
Describe the bug
I am parsing a json file with the command openai tools fine_tunes.prepare_data -f javi.json, and i always have this error message:
Analyzing...
ERROR in read_any_format validator: Your file
javi.json
does not appear to be in valid JSON format. Please ensure your file is formatted as a valid JSON file.Aborting...%
It does not matter whats the content of the file, even with something as simple as { "name": "javi"} it throws this error
To Reproduce
Create a json file with any content
Run openai tools fine_tunes.prepare_data -f javi.json
It errors
Code snippets
No response
OS
Monterrey
Python version
Python 3.9.6
Library version
openai 0.27.4
The text was updated successfully, but these errors were encountered: