Skip to content

The "Disaster Tweets Classifier" is a ML model for Kaggle's "Natural Language Processing with Disaster Tweets" competition that classifies tweets as related to a disaster or not.

License

Notifications You must be signed in to change notification settings

IAMSebyi/Disaster-Tweets-Classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disaster Tweets Classifier

This project is a submission for Kaggle's Natural Language Processing with Disaster Tweets competition. The goal is to predict whether a tweet is about a real disaster or not using machine learning techniques.

Project Overview

The dataset consists of tweets labeled as either disaster-related or not. The main focus of this project was to preprocess the data, extract features using BERT embeddings, and build a binary classification model using PyTorch.

Key Features

  • BERT Embeddings: Extracting deep contextualized embeddings from the tweets using a pre-trained BERT model.
  • Feature Engineering: Additional features like sentiment analysis were added to enhance the prediction power of the model.
  • PyTorch Model: A neural network was used for binary classification.

Setup

  1. Clone the repository:
git clone https://github.com/yourusername/disaster-tweets-classifier.git
cd disaster-tweets-classifier
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the main script:
python main.py

Data

The dataset is sourced from the competition's Kaggle page. Please download the dataset from there and place it in the appropriate folder.

About

The "Disaster Tweets Classifier" is a ML model for Kaggle's "Natural Language Processing with Disaster Tweets" competition that classifies tweets as related to a disaster or not.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published