From the course: OpenAI API: Fine-Tuning

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Uploading training data to the API

Uploading training data to the API - OpenAI API Tutorial

From the course: OpenAI API: Fine-Tuning

Uploading training data to the API

- [Instructor] The first step in the fine-tuning process is to generate the training and validation files. I already covered this in the previous chapter, and I have the files sitting here in Codespaces under the data folder. If you don't have these files, or you started on this chapter, and didn't watch the previous one, go back to the previous chapter and watch video number two, where I break down how to create these training files. Now we're going to upload these files using the OpenAI API, and to do that, you need the OpenAI API key. In the exercise files video at the very top of the course, I explained how to set up this key. You can see I've already set it up. Again, if you haven't done this step, go back and watch the second video of this course, where I explain how to complete this step. Once you have the.env file with the API key, you're ready to move to the second step. Fine-tune-flow.ipynb is a Jupyter notebook, and to start the process, we need to import all the packages…

Contents