""" In short, I thoroughly enjoyed this book, and I’m certain you will too. Anyone interested in building products with state-of-the-art languageprocessing features needs to read it. It’s packed to the brim with all the right brain germs!
Aurélien Géron """
- Hands-On Machine Learning with Scikit-Learn and TensorFlow, by Aurélien Géron (O’Reilly)
- Deep Learning for Coders with fastai and PyTorch, by Jeremy Howard and Sylvain Gugger (O’Reilly)
- Natural Language Processing with PyTorch, by Delip Rao and Brian McMahan (O’Reilly)
- The Hugging Face Course, by the open source team at Hugging Face
Transformers offers several layers of abstraction for using and training transformer models. We’ll start with the easy-to-use pipelines that allow us to pass text examples through the models and investigate the predictions in just a few lines of code. Then we’ll move on to tokenizers, model classes, and the Trainer API, which allow us to train models for our own use cases. Later, we’ll show you how to replace the Trainer with the Accelerate library, which gives us full control over the training loop and allows us to train large-scale transformers entirely from scratch!
Fortunately, there are several free online options that you can use, including:
- Google Colaboratory
- Kaggle Notebooks
- Paperspace Gradient Notebooks
To run the examples, you’ll need to follow the installation guide that we provide in the book’s GitHub repository. You can find this guide and the code examples at https://github.com/nlp-with-transformers/notebooks.