OpenAI Developer Community
openai.error.InvalidRequestError: Expected file to have JSONL format, where every line is a JSON dictionary. Line 1 is not a dictionary
API
ori.kabeli
June 22, 2022, 8:08am
2
Solved.
I called with
file="mydata.jsonl"
instead of:
file=open("mydata.jsonl"),
5 Likes
Finetuning via API issues with JSONL
show post in topic
Related topics
Topic
Replies
Views
Activity
ERROR in read_any_format validator: while trying to use openai tools fine_tunes.prepare_data
API
5
2181
May 2, 2023
Get does not appear to be in valid JSON format. Please ensure your file is formatted as a valid JSON file. every time
API
16
9002
April 28, 2023
ERROR in read_any_format validator: File 'my jsonl file' does not exist
API
api
7
767
December 25, 2023
Error with Fine-Tuning model
API
4
1325
December 17, 2023
File format error on fine tuning using Python
API
fine-tuning
,
python
,
fine-tuning-problems
1
720
November 11, 2023