What is this project?
A fine-tuned transformer model that analyses social media comments and classifies them as normal, offensive, or hate speech — trained on the HateXplain dataset of 20,148 annotated social media posts. The model outputs a softmax confidence score for each class rather than a hard label, enabling graduated responses depending on how certain the model is.
The end goal is educational intervention: flagging prejudiced content and helping users understand why it's harmful, not just removing it. The system is deployed as a FastAPI backend serving a React frontend, hosted on HuggingFace Spaces.
This is Project 1 of a personal NLP portfolio, built to develop practical ML engineering skills end-to-end — from raw dataset through to a deployed, versioned model.