In Chapter 2 we explored how to use tokenizers and pretrained models to make predictions. But what if you want to fine-tune a pretrained model for your own dataset? That’s the topic of this chapter! You will learn:
Trainer
API to fine-tune a modelIn order to upload your trained checkpoints to the Hugging Face Hub, you will need a huggingface.co account: create an account