Spaces:
Sleeping
Sleeping
File size: 1,422 Bytes
bc3dd6d 5a1a25f bc3dd6d 5a1a25f bc3dd6d 5a1a25f 1d7b47b 7dff226 bc3dd6d 5a1a25f bc3dd6d 5a1a25f bc3dd6d 5a1a25f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | ---
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) |