Instructions to use Jayveersinh-Raj/Gujarati_hatespeech_extension with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Jayveersinh-Raj/Gujarati_hatespeech_extension with Transformers:
# 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") - Notebooks
- Google Colab
- Kaggle
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
- 4