While using fine tuning, get this error:UnicodeEncodeError:

I had the similar backtrace of a problem as you posted. I solved it by using correct sign of double quotes in OPENAI_API_KEY. I was using “ instead of ". First I thought my dataset was a problem, but it’s was a wrong guess.

3 Likes