jjjardev/hilisenti-v1
Preview • Updated • 36 • 2
HiliSenti-v1-model is a fine-tuned XLM‑RoBERTa‑large (355M parameters) model for ternary sentiment classification (Negative, Neutral, Positive) of Hiligaynon text. It was trained on the HiliSenti v1 dataset, the first publicly available multi-domain sentiment analysis dataset for Hiligaynon.
The model achieves 93.5% test accuracy and a macro F1 of 93.4%, with per-class F1 scores of 0.95 (Negative), 0.91 (Neutral), and 0.94 (Positive).
The model was trained on the HiliSenti v1 dataset:
| Split | Sentences | Negative | Neutral | Positive |
|---|---|---|---|---|
| Train | 18,854 | 6,817 | 5,834 | 6,203 |
| Validation | 2,241 | ~810 | ~694 | ~737 |
| Test | 2,242 | 828 | 633 | 781 |
| Total | 23,337 | ~8,455 | ~7,161 | ~7,721 |
Data sources include:
xlm-roberta-large (355M parameters)2e-5 with cosine schedule and 10% warm-up| Metric | Negative | Neutral | Positive | Overall |
|---|---|---|---|---|
| Precision | 0.95 | 0.93 | 0.93 | — |
| Recall | 0.95 | 0.90 | 0.95 | — |
| F1-Score | 0.95 | 0.91 | 0.94 | — |
| Accuracy | — | — | — | 93.5% |
| Macro F1 | — | — | — | 93.4% |
| Balanced Accuracy | — | — | — | 93.3% |
The model substantially exceeds the original project target of 80% accuracy.
from transformers import AutoModelForSequenceClassification, AutoTokenizer
# Load model and tokenizer
model = AutoModelForSequenceClassification.from_pretrained("jjjardev/hilisenti-v1-model")
tokenizer = AutoTokenizer.from_pretrained("jjjardev/hilisenti-v1-model")
# Example inference
sentence = "Sobrang sarap ng pagkain dito sa restaurant na ito."
inputs = tokenizer(sentence, return_tensors="pt")
outputs = model(**inputs)
prediction = outputs.logits.argmax().item()
# Map to label
labels = ["Negative", "Neutral", "Positive"]
print(labels[prediction]) # Positive
from transformers import pipeline
classifier = pipeline("text-classification", model="jjjardev/hilisenti-v1-model")
result = classifier("Napakabagal ng internet connection namin ngayon.")
print(result) # [{'label': 'Negative', 'score': 0.93}]
If you use this model or the HiliSenti dataset in your research, please cite:
@misc{jessie_james_jarder_2026,
author = {Jessie James Jarder},
title = {hilisenti-v1-model (Revision 6df512f)},
year = {2026},
publisher = {Hugging Face},
doi = {10.57967/hf/9302},
url = {https://huggingface.co/jjjardev/hilisenti-v1-model}
}
Dataset Reference:
@dataset{jarder2026hilisenti,
author = {Jessie James T. Jarder},
title = {HiliSenti: A Multi-Domain Sentiment Analysis Dataset for Hiligaynon},
year = {2026},
publisher = {Hugging Face},
doi = {10.57967/hf/8737},
url = {https://huggingface.co/datasets/jjjardev/hilisenti-v1}
}
| Component | License |
|---|---|
| Model Weights | CC BY-NC-SA 4.0 |
| Training Code | MIT |
| Dataset | CC BY-NC-SA 4.0 |
Jessie James T. Jarder — jj.jarder.dev@gmail.com
---