MENU

Fun & Interesting

PyTorch Tutorial 5 - Text Classification | Sarcasm Detection with BERT

Omar M. Atef 3,701 lượt xem 3 months ago
Video Not Working? Fix It Now

In this tutorial we are going to build a complete text classification code with PyTorch for Sarcasm Detection with BERT Transformer Model

Dataset link: https://www.kaggle.com/datasets/rmisra/news-headlines-dataset-for-sarcasm-detection

GitHub Notebook: https://github.com/omaratef3221/pytorch_tutorials/blob/main/Ex_4_Audio_Classification.ipynb
Full GitHub Repo: https://github.com/omaratef3221/pytorch_tutorials

How to use Kaggle datasets in Google Colab:
https://youtu.be/s9O6soJES74?si=IlTWDak06cfc05V0

How to install Python and IPython (Jupyter) Locally:
https://youtu.be/576NlDmjDOg?si=LMjmo12e6cH51RvC


Contents:
00:00 Introduction
02:58 Imports
05:30 Data Reading and Analysis
13:35 Model Intro
15:00 Dataset preparation
27:00 Model Building
33:45 Training
48:12 Testing
50:54 Observations

Comment