[[open-in-colab]]
This guide will show you how to fine-tune 🤗 Transformers models for common downstream tasks. You will use the 🤗
Datasets library to quickly load and preprocess the datasets, getting them ready for training with PyTorch and
TensorFlow.
Before you begin, make sure you have the 🤗 Datasets library installed. For more detailed installation instructions,
refer to the 🤗 Datasets installation page. All of the
examples in this guide will use 🤗 Datasets to load and preprocess a dataset.
bash
pip install datasets
Learn how to fine-tune a model for:
seq_imdb
tok_ner
qa_squad
Sequence classification with IMDb reviews
Sequence classification refers to the task of classifying sequences of text according to a given number of classes. In
this example, learn how to fine-tune a model on the IMDb dataset to determine
