This repo is to maintain the web app for the hate speech detection model. The model is trained on the HASOC dataset and is deployed using FastAPI. The model is trained using the pretrained distilBERT model and the training code is available in the model
folder.
A Natural Language Prediction Model which will take written words (string) as input and classify it into the three categories, i.e. hate, neutral, supportive.
- Python
- Pandas
- Numpy
- Scikit-learn
- Matplotlib
- PyTorch
- Transformers
- DistilBERT
- FastAPI
- React
- DistilBERT
- The model is trained on the HASOC dataset.
- The model is trained using the pretrained distilBERT model.
- The model is deployed using FastAPI.
- The web app is built using React.
- Clone the repository.
- Install the required packages using
pip install -r requirements.txt
. - Run the FastAPI server using
uvicorn main:app --reload
. - Run the React app using
npm start
.
- Hate Speech Multilabel Classification with BERT
- A Hate Speech MultiLabel Classifier to classify independent targets of race, religion, origin, gender, sexuality, age, disability by doing transfer learning on BERT with the UC Berkeley D-Lab's Hate Speech Dataset from the paper The Measuring Hate Speech Corpus: Leveraging Rasch Measurement Theory for Data Perspectivism
- Hate Speech Detection from Code-mixed Hindi-English Tweets Using Deep Learning Models
- Comparison of Pretrained Embeddings to Identify Hate Speech in Indian Code-Mixed Text
- Indonesia Hate Speech Detection Using Deep Learning + Acoustic
- # Advances in Machine Learning Algorithms for Hate Speech Detection in Social Media: A Review + Cultural Drawback vala point isme hai