Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.35.0
metadata
title: Hatespeech
emoji: π¬
colorFrom: yellow
colorTo: purple
sdk: gradio
sdk_version: 5.29.0
app_file: app.py
pinned: false
license: mit
Swahili Hate Speech Classifier
This Space is a demo of a fine-tuned BERT model for classifying Swahili text into three categories
- Non-hate speech
- Political hate speech
- Offensive language
π§ Model
The model was trained using a labeled Swahili dataset for hate speech detection. It is based on a BERT architecture and fine-tuned specifically for this 3-class classification task.
Model repo: sandbox338/hatespeech
π¬ How to Use
- Enter a Swahili sentence or paragraph into the textbox.
- Click Submit.
- The model will return one of the three class labels.
π Example Inputs
Hii ni ujumbe wa kawaida bila matusi.
β Non-hate speechWanasiasa hawa ni wabaya na lazima waondoke!
β Political hate speechUnasema upuuzi na wewe ni mjinga kabisa!
β Offensive language
π© Usability Testing
This tool is part of an ongoing usability evaluation. Please try it out and share feedback on:
- Clarity of results
- Ease of use
- Suggestions for improvement