From the course: MLOps Tools: MLflow and Hugging Face

Unlock this course with a free trial

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

Performing fine-tuning

Performing fine-tuning

- [Instructor] Let's go ahead and take a look at the official Hugging Face documentation here and take a look at this course. You can see there's lots of different useful things in this course, but I want to take a look at the fine tuning section here, fine tuning a pre-trained model, and take a look at how I could actually implement that myself. So I'm going to go ahead and select this button here. And one of the nice things about this course is it opens up a CoLab notebook and it gives us a nice overview of the sections as well. So we can see here it's not a lot of code here, it's just a section here that installs some software. It then goes through and has a tokenize function. It then has a trainer, which goes right here. And then we go ahead and we do a train and it will actually do the fine tune operation and then show us exactly what's happening. Now, if I wanted to run this myself and get better and better accuracy, what I could do is use the CoLab environment here. Now what's…

Contents