classla/FRENK-hate-hr
Viewer • Updated • 21.9k • 112
This model is a fine-tuned version of classla/bcms-bertic for binary hate speech classification in Croatian.
| Metric | Score |
|---|---|
| Accuracy | 81.3% |
| F1-Macro | 0.810 |
| F1-Weighted | 0.813 |
| MCC | 0.621 |
| Class | Precision | Recall | F1-Score |
|---|---|---|---|
| ACC (Acceptable) | 0.777 | 0.803 | 0.790 |
| OFF (Offensive) | 0.842 | 0.820 | 0.831 |
from src.models.bertic import BERTicTrainer
# Load model
trainer = BERTicTrainer()
trainer.load("path/to/model")
# Predict
texts = ["Ovo je normalan komentar.", "Svi su oni lopovi!"]
predictions = trainer.predict(texts)
print(predictions) # ['ACC', 'OFF']
ACC - Acceptable: No offensive contentOFF - Offensive: Contains hate speech, insults, or inappropriate content@misc{croatian-hate-speech-2026,
author = {Jurić, Duje and Matošević, Teo and Radolović, Teo},
title = {Detection of Hate Speech on Croatian Online Portals Using NLP Methods},
year = {2026},
publisher = {University of Zagreb, FER},
url = {https://github.com/TeoMatosevic/slur-analysis-model}
}
University of Zagreb, Faculty of Electrical Engineering and Computing
MIT License
Base model
classla/bcms-bertic