Downloads · 30 days
6
33% of all-time downloads
archich/reddit-hate-speech-detector
reddit-hate-speech-detector is a machine learning model from archich. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This model detects hate speech in Reddit comments for both Hindi and English languages.
Downloads · 30 days
6
33% of all-time downloads
All-time downloads
18
Public
Repo size
1.1 GB
Likes
0
Public
Click a slice to open those files.
.bin1.1 GB · 100%
From the Hugging Face model README
This model detects hate speech in Reddit comments for both Hindi and English languages.
This model is designed for:
⚠️ Important: This model should assist human moderators, not replace them.
import torch
from transformers import XLMRobertaTokenizer
# Load tokenizer
tokenizer = XLMRobertaTokenizer.from_pretrained('xlm-roberta-base')
# Your model loading code here
# (See inference script)