Downloads · 30 days
212
11% of all-time downloads
saroarj/BanglaHateBert
BanglaHateBert is a text classification model from saroarj. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
212
11% of all-time downloads
All-time downloads
1.9K
Public
Repo size
885 MB
Likes
1
Public
Click a slice to open those files.
.bin443 MB · 100%
From the Hugging Face model README
License: OpenRail
This repository contains the BanglaHateBERT model, designed for Abusive Language Detection in Bengali. It leverages the powerful BERT architecture and is made available through the Hugging Face Transformers library.
To use BanglaHateBERT, you need to install the transformers library:
pip install transformers
Here's a simple example demonstrating how to load the tokenizer and the model:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("saroarj/BanglaHateBert")
model = AutoModelForSequenceClassification.from_pretrained("saroarj/BanglaHateBert")
If you use BanglaHateBERT in your research or work, please cite the following paper:
@inproceedings{jahan2022banglahatebert,
title={BanglaHateBERT: BERT for Abusive Language Detection in Bengali},
author={Jahan, Md Saroar and Haque, Mainul and Arhab, Nabil and Oussalah, Mourad},
booktitle={Proceedings of the Second International Workshop on Resources and Techniques for User Information in Abusive Language Analysis},
pages={8--15},
year={2022}
}
You can find the test dataset for BanglaHateBERT at the following link: https://github.com/saroarjahan/BanglaHateBert.
For the source code, please email me at [saroarjahan01[a..t]gmail . com].