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 - 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
-
-
-
-
(Locked)
Fine-tuning through the API58s
-
(Locked)
Uploading training data to the API2m 32s
-
(Locked)
Creating a fine-tuning job through the API2m 9s
-
(Locked)
Retrieving a fine-tuning job and checking the status3m 28s
-
(Locked)
Getting the model name once the job is completed1m 10s
-
(Locked)
Using the fine-tuned model through the API1m 46s
-
(Locked)
Cancelling a fine-tuning job1m 2s
-
(Locked)
-