Text Classification with BERT
Text Classification with BERT with Fastai and HuggingFace. Adapted from https://www.kaggle.com/maroberti/fastai-with-transformers-bert-roberta
You can run BertTextClassifier.ipynb
in a Jupyter Notebook or Google’s Colab. To run within Microsoft VisualStudio Code use BertTextClassifier_VSCode.ipynb
version.
To run in command line please first install requirements in a virtual env:
python3 -m venv .env
pip3 install -r requirements.txt
python3 BertTextClassifier.py
This project was freely adapted by Loreto Parisi from “Fastai with HuggingFace 🤗Transformers (BERT, RoBERTa, XLNet, XLM, DistilBERT)” - https://www.kaggle.com/maroberti/fastai-with-transformers-bert-roberta