Skip to content

Latest commit

 

History

History
29 lines (23 loc) · 753 Bytes

File metadata and controls

29 lines (23 loc) · 753 Bytes

SentiMent: BERT-based Sentiment Analysis

This project provides a full pipeline for sentiment analysis on Twitter data using a BERT-based model.

Features

  • Data loading and preprocessing
  • Tokenization
  • Model training and evaluation
  • Reproducible results with fixed seeds

Project Structure

  • src/ - Source code (data utilities, model, training, evaluation)
  • data/ - Training and validation CSV files
  • models/ - Saved model checkpoints
  • outputs/ - Evaluation logs and confusion matrices
  • run.py - Entry point for the full pipeline

Quick Start

  1. Install dependencies:
    pip install -r requirements.txt
  2. Train and evaluate:
    python run.py
    Use --help for configurable options.