A Streamlit-based explainable AI (XAI) interface for exploring predictions from HateBERT — a BERT-based model fine-tuned to detect hate speech. This app enables visual explanation of model predictions using attention visualization, gradient-based attribution, and model-agnostic interpretation techniques.
2
stars
4
commits
Python
primary language
Jun 9, 2025
updated
A Streamlit-based explainable AI (XAI) interface for exploring predictions from HateBERT — a BERT-based model fine-tuned to detect hate speech. This app enables visual explanation of model predictions using attention visualization, gradient-based attribution, and model-agnostic interpretation techniques.
# Clone the repository
git clone https://github.com/your-username/hatebert-xai-explorer.git
cd hatebert-xai-explorer
# Create and activate virtual environment (Windows example)
python -m venv hbenv
hbenv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run
streamlit run XAI_Pretrained.py --server.runOnSave=false
4 commits
Python
100.0%
A Streamlit-based explainable AI (XAI) interface for exploring predictions from HateBERT — a BERT-based model fine-tuned to detect hate speech. This app enables visual explanation of model predictions using attention visualization, gradient-based attribution, and model-agnostic interpretation techniques.
2
stars
4
commits
Python
primary language
Jun 9, 2025
updated
A Streamlit-based explainable AI (XAI) interface for exploring predictions from HateBERT — a BERT-based model fine-tuned to detect hate speech. This app enables visual explanation of model predictions using attention visualization, gradient-based attribution, and model-agnostic interpretation techniques.
# Clone the repository
git clone https://github.com/your-username/hatebert-xai-explorer.git
cd hatebert-xai-explorer
# Create and activate virtual environment (Windows example)
python -m venv hbenv
hbenv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run
streamlit run XAI_Pretrained.py --server.runOnSave=false
4 commits
Python
100.0%