Spaces:
Sleeping
Sleeping
| title: Nepali Hate Content Classification | |
| emoji: π | |
| colorFrom: red | |
| colorTo: blue | |
| sdk: docker | |
| pinned: true | |
| license: mit | |
| short_description: Nepali hate speech classifier with XAI | |
| # Nepali Hate Content Classification System | |
| An interactive web application for classifying hate content in Nepali social media text. Supports **Devanagari script**, **Romanized Nepali**, **English**, and **code-mixed** inputs. | |
| ## Models | |
| | Model | HF Repo | | |
| |-------|---------| | |
| | XLM-RoBERTa Large | [UDHOV/xlm-roberta-large-nepali-hate-classification](https://huggingface.co/UDHOV/xlm-roberta-large-nepali-hate-classification) | | |
| | NepaliBERT | [UDHOV/nepalibert-nepali-hate-classification](https://huggingface.co/UDHOV/nepalibert-nepali-hate-classification) | | |
| ## Classes | |
| | Label | Description | | |
| |-------|-------------| | |
| | π’ NON_OFFENSIVE | No offensive content | | |
| | π‘ OTHER_OFFENSIVE | General offensive content | | |
| | π΄ OFFENSIVE_RACIST | Targets ethnicity, race, or caste | | |
| | π΄ OFFENSIVE_SEXIST | Targets gender | | |
| ## Features | |
| - Single text and batch (CSV) classification | |
| - Automatic script detection and preprocessing | |
| - Emoji semantic mapping (180+ emojis) | |
| - Confidence scores with visualization | |
| - Explainability via LIME, SHAP, and Integrated Gradients (Captum) | |
| - Prediction history tracking | |
| ## Project | |
| Bachelor of Computer Engineering Final Project | |
| Khwopa College of Engineering, Tribhuvan University, Nepal (2026) |