## Instructions and Navigations
All of the code is organized into folders.
The code will look like the following:
```
(x_train, y_train), (x_test, y_test), preproc = text.texts_from_df(train_df = df,
text_column = 'reviewText',
label_columns=['sentiment'],
maxlen=100,
max_features=100000,
preprocess_mode='bert',
val_pct=0.1)
```
**Following is what you need for this book:**
This book is for NLP professionals and data scientists looking to simplify NLP tasks to enable efficient language understanding using BERT. A basic understanding of NLP concepts and deep learning is required to get the best out of this book. To get the most out of the book, run all the code provided in the book using Google Colab.
With the following software and hardware list you can run all code files present in the book (Chapters 1, 2 and 5 do not contain code files).
### Software and Hardware List
| Chapter | Software required | OS required |
| -------- | ----------------------------------------------------------------------------------------------------| -----------------------------------|
| 3 | Google Colab / Python 3.x | Windows, Mac OS X, and Linux (Any) |
| 4 | Google Colab / Python 3.x | Windows, Mac OS X, and Linux (Any) |
| 6 | Google Colab / Python 3.x | Windows, Mac OS X, and Linux (Any) |
| 7 | Google Colab / Python 3.x | Windows, Mac OS X, and Linux (Any) |
| 8 | Google Colab / Python 3.x | Windows, Mac OS X, and Linux (Any) |
| 9 | Google Colab / Python 3.x | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. [Click here to download it](https://static.packt-cdn.com/downloads/9781838821593_ColorImages.pdf).
## Errata
* Page 26 (Chapter 1, Learning position with positional encoding):
The formula should be:
### Related products