Metadata-Version: 2.4
Name: romsi_hate_speech
Version: 1.0.0
Summary: Detect Romanized Sinhala hate speech using XLM-RoBERTa.
Home-page: https://github.com/sakunchamikara/Hate_Speech_Detection_System
Author: Sakun Chamikara
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: transformers
Requires-Dist: torch
Requires-Dist: fastapi
Requires-Dist: uvicorn
Requires-Dist: pydantic
Dynamic: author
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# 🇱🇰 Romanized Sinhala Hate Speech Detection

This project aims to detect **hate speech in Romanized Sinhala** text using transformer-based deep learning models (e.g., XLM-RoBERTa). It includes both the model training pipeline and inference (prediction) functionality.

---

## 🔡 Supported Input

The model expects **Romanized Sinhala text**, such as:

- `"umbalata lokuwatma pissu"`
- `"mokada oya karanne"`

The input is automatically tokenized and passed to the model for classification.

---

## 🧪 Model Output

- `0` → Not Hate Speech
- `1` → Hate Speech

---

## 📜 License

This project is for academic and research use. Please contact the author before using it for commercial purposes.

---

## ✍️ Author

**Sakun Chamikara**  
MSc Research Project – Romanized Sinhala Hate Speech Detection  
Sri Lanka
