How to Fine Tune BERT for Text Classification using Transformers in Python To run this: pip3 install -r requirements.txt If you want to use scripts, consider train.py and test.py The notebook finetune-bert.ipynb is suggested. You can also follow on Google Colab: