How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Jayveersinh-Raj/Gujarati_hatespeech_extension")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Jayveersinh-Raj/Gujarati_hatespeech_extension")
model = AutoModelForSequenceClassification.from_pretrained("Jayveersinh-Raj/Gujarati_hatespeech_extension", device_map="auto")
Quick Links

This model is the exclusive finetuning of 'Indo-Aryan-Abuse-Detection' model which was trained on approximately 1000 hindi labelled sentences.

Dataset details

Train set for Gujarati zero shot: HASOC-2023 Gujarati tweets labelled (200 samples) Test set: HASOC-2023 Gujarati unlabelled tweets (approximately 1000 samples)

Training details

32 batches 20 epochs

Results

Macro-F1: 0.7926 Macro precision: 0.7859

Downloads last month
10
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support