Technical requirements
You will need to install the libraries and software listed next. Although having the latest version is a plus, it is mandatory to install versions that are compatible with each other. For more information about the latest version installation for HuggingFace Transformer, take a look at their official web page at https://huggingface.co/Transformer/installation.html:
- Anaconda
- Transformer 4.0.0
- PyTorch 1.1.0
- TensorFlow 2.4.0
- Datasets 1.4.1
Finally, all the code shown in this chapter is available in this book's GitHub repository at https://github.com/PacktPublishing/Mastering-Transformer/tree/main/CH02.
Check out the following link to see the Code in Action video: https://bit.ly/372ek48