BERT Document Classification Tutorial with Code
Вставка
- Опубліковано 11 вер 2024
- ==== Free Course & Notebook ====
The notebook and a video course version of this tutorial are available for FREE on my website, here: www.chrismccor...
Learn how to fine-tune BERT for document classification. We'll be using the Wikipedia Personal Attacks benchmark as our example.
Bonus - In Part 3, we'll also look briefly at how we can apply BERT to search for "semantically similar" comments in the dataset.
==== Pre-reqs ====
This tutorial builds on my “BERT Fine-Tuning Tutorial with PyTorch”. If you want to know more of the basics of fine-tuning BERT, check it out!
Video: • BERT Research - Ep. 3 ...
Free Notebook: colab.research...
==== References ====
Here are the links for the dataset (these are also provided in my notebook):
- wikimedia page describing the dataset: figshare.com/a...
- Dataset download page on figshare.com for the personal attack comments: figshare.com/a...
- Example notebook (from the authors) for getting started with the dataset: github.com/ewu...
==== Updates ====
Sign up to hear about new content across my blog and channel! www.chrismccor...