I’m trying to create a Q&a based on the /answers. After uploading the JSONL files (which I created from some pandas with string objects), one of them returns this error after processing: “status_details”: “Invalid file format. Example 3 has a non-string text.”
That is interesting, I haven’t seen that error before. What is shown when you print out the object type of Example 3 with the type() function? You said they’re all strings, so I trust you. Copying and pasting text from online sources can sometimes be problematic as well.
Is it possible to provide us with the problematic example so we can help you look into this issue? Also, if I may ask, are you ensuring that you’ve encoded the strings in “UTF-8” format when you’re creating the JSONL file with the ‘encoding’ parameter?
Thanks @fvrlak Actually the issue was not about the special characters. I found that there were some null cells in the data. dropped the nulls and the problem was solved.