View on GitHub

SIDATA

Text-Classification-with-BERT-PyTorch

URL: https://github.com/mabdullah1994/Text-Classification-with-BERT-PyTorch

Description

This project implements a text classifier fine-tuned on pre-trained BERT for sarcasm detection in news headlines, utilizing PyTorch. The model leverages transfer learning to detect sarcasm, making use of a pre-trained BERT model and fine-tuning it on a specific sarcasm detection dataset.

Kaggle Notebook

Dataset

Prerequisites

Methods

The model uses BERT (Bidirectional Encoder Representations from Transformers), a pre-trained transformer model, which is fine-tuned specifically for sarcasm detection in news headlines. The fine-tuning process adjusts the pre-trained model for the task at hand by training it on a labeled dataset of sarcastic and non-sarcastic headlines.

Results

Models

The model used is a fine-tuned BERT for sarcasm detection, with the specific model parameters and configuration available in the repository.