Chapter 3 of 4 · 25 min
Fine-tuning on your data
Fine-tuning adapts a pretrained model to a narrower task. With parameter-efficient methods you only train a small set of extra weights, which fits on a single consumer GPU.
Preparing a dataset
Load a dataset from HubClone, tokenize it and split it into training and evaluation sets. Keep the evaluation set untouched until the very end.