Downloads · 30 days
11
8% of all-time downloads
ldlazaro/sentiment_roberta_taglish
sentiment_roberta_taglish is a text classification model from ldlazaro. Use it when you need a label for a piece of text. It is set up for transformers.
A fine-tuned RoBERTa model for sentiment analysis on Taglish (Tagalog + English) Shopee comments. Developed as part of a project for DOST-STII-IRAD by an APC College group.
Downloads · 30 days
11
8% of all-time downloads
All-time downloads
138
Public
Parameters
109M
436 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors436 MB · 99%
From the Hugging Face model README
A fine-tuned RoBERTa model for sentiment analysis on Taglish (Tagalog + English) Shopee comments. Developed as part of a project for DOST-STII-IRAD by an APC College group.
dost-asti/RoBERTa-tl-sentiment-analysisAutoTokenizer.from_pretrained("dost-asti/RoBERTa-tl-sentiment-analysis")0 = Negative1 = Neutral2 = Positiveletijo03/sentiment-analysis-taglish-shopee-comment (train split)Test Set Performance:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
# Load tokenizer and model from Hugging Face Hub
tokenizer = AutoTokenizer.from_pretrained("ldlazaro/sentiment_roberta_taglish")
model = AutoModelForSequenceClassification.from_pretrained("ldlazaro/sentiment_roberta_taglish")
# Example inference
text = "Ang ganda ng araw na ito!"
inputs = tokenizer(text, return_tensors="pt")
pred = model(**inputs).logits.argmax(-1)
print(pred.item())