Technical requirements
We will mostly be using standard functions from PyTorch and torchvision
throughout this chapter. We will also use the Hugging Face Datasets library for dealing with text data.
The code and notebooks for this chapter are available on GitHub at https://github.com/PacktPublishing/Machine-Learning-for-Imbalanced-Data/tree/master/chapter08. As usual, you can open the GitHub notebook using Google Colab by clicking on the Open in Colab icon at the top of this chapter’s notebook or by launching it from https://colab.research.google.com using the GitHub URL of the notebook.