Downloads · 30 days
69
0% of all-time downloads
thoriqfy/indobert-emotion-classification
indobert-emotion-classification is a text classification model from thoriqfy. Use it when you need a label for a piece of text. It is set up for transformers.
Downloads · 30 days
69
0% of all-time downloads
All-time downloads
735K
Public
Parameters
335M
4 GB on disk
Likes
8
Public
Click a slice to open those files.
.onnx1.3 GB · 33%
How the weights are stored.
F32335M · 100%
From the Hugging Face model README
How to import:
from transformers import BertForSequenceClassification, BertTokenizer, BertConfig
tokenizer = BertTokenizer.from_pretrained("thoriqfy/indobert-emotion-classification")
config = BertConfig.from_pretrained("thoriqfy/indobert-emotion-classification")
model = BertForSequenceClassification.from_pretrained("thoriqfy/indobert-emotion-classification", config=config)
How to use:
from transformers import pipeline
nlp = pipeline("text-classification", model="thoriqfy/indobert-emotion-classification")
results = nlp("Your input text here")