https://github.com/SURESHBEEKHANI/Hate-Speech-Classifier-LSTM
A Deep learning project that detects hate speech in text using LSTM-based classification models.
https://github.com/SURESHBEEKHANI/Hate-Speech-Classifier-LSTM
deep-learning hate-speech lstm machine-learning nlp python python3 text-classification
Last synced: 10 months ago
JSON representation
A Deep learning project that detects hate speech in text using LSTM-based classification models.
- Host: GitHub
- URL: https://github.com/SURESHBEEKHANI/Hate-Speech-Classifier-LSTM
- Owner: SURESHBEEKHANI
- License: mit
- Created: 2025-01-06T05:22:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-06T09:46:56.000Z (over 1 year ago)
- Last Synced: 2025-03-28T07:22:02.556Z (about 1 year ago)
- Topics: deep-learning, hate-speech, lstm, machine-learning, nlp, python, python3, text-classification
- Language: Jupyter Notebook
- Homepage:
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Hate Speech Classifier
#### Overview
The **Hate Speech Classifier** utilizes **LSTM** networks to identify and categorize hate speech in text. It incorporates Jupyter Notebooks for data ingestion, validation, transformation, and model training.
#### Workflows
1. Modify `config.yaml`
2. Modify `params.yaml`
3. Modify entity
4. Update the configuration manager in `src/config`
5. Update the components
6. Update the pipeline
7. Update `main.py`
8. Update `app.py`
#### Steps
1. Data Ingestion
2. Data Validation
3. Data Transformation
4. Model Training
5. Build Flask App for Inference
#### LSTM Model
The model consists of:
- **Embedding Layer**: Converts text into dense vectors.
- **LSTM Layer**: Captures temporal dependencies.
- **Dense Layer**: Classifies the text.
- **Softmax Layer**: Provides classification probabilities.