Text Classification with BERT in PyTorch
How to leverage a pre-trained BERT model from Hugging Face to classify text of news articles
Published in
9 min readNov 10, 2021
Back in 2018, Google developed a powerful Transformer-based machine learning model for NLP applications that outperforms previous language models in different benchmark datasets. And this model is called BERT.