Downloads · 30 days
12
0% of all-time downloads
akahana/indonesia-emotion-roberta
indonesia-emotion-roberta is a text classification model from akahana. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
12
0% of all-time downloads
All-time downloads
4.7K
Public
Parameters
125M
997 MB on disk
Likes
1
Public
Click a slice to open those files.
.bin499 MB · 50%
How the weights are stored.
F32125M · 100%
From the Hugging Face model README
from transformers import pipeline, set_seed
path = "akahana/indonesia-emotion-roberta"
emotion = pipeline('text-classification',
model=path,device=0)
set_seed(42)
kalimat = "dia orang yang baik ya bunds."
preds = emotion(kalimat)
preds
[{'label': 'BAHAGIA', 'score': 0.8790940046310425}]