hastika-task-b-muril-trainval
google/muril-base-cased fine-tuned for target-category identification of hate comments (Gender, Political, Religion, Geo-political, Violence, Others) in Kannada-English code-mixed YouTube comments,
built for Task B of the HASTIKA @ ICON-2026 shared task.
Labels
0: Gender1: Geo-political2: Others3: Political4: Religion5: Violence
How to use
from transformers import pipeline
clf = pipeline("text-classification", model="Ganesh-Nadkarni/hastika-task-b-muril-trainval")
print(clf("your Kanglish comment here"))
Training
- Data: the HASTIKA training and validation files merged, 88/12 stratified split.
- Max length 160, batch size 16, mixed precision, early stopping on validation macro-F1.
- Learning rate 1e-5; imbalance handling: class-weighted loss only (no oversampling).
- Macro-F1 of this model on its held-out split: 0.46.
Important notes
- Trained on the training and validation files together, so no clean validation score exists: the held-out figure is on a random 12% slice of the merged data, and this checkpoint was not part of an official submission.
- Trained on a small dataset; expect errors on dialect, sarcasm, reclaimed language and transliteration variants not seen in training.
- For research use. It should assist human moderators, not replace them.
- The dataset is not included. Check the HASTIKA dataset terms before any other use.
Citation
Kavatagi, S. and Rachh, R. (2025). HASTIKA: hate speech and target identification in Kannada-English code-mixed text. Language Resources and Evaluation, 59(3):2811-2856.