Edit model card

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")
Downloads last month
8,745
Safetensors
Model size
335M params
Tensor type
I64
·
F32
·
This model does not have enough activity to be deployed to Inference API (serverless) yet. Increase its social visibility and check back later, or deploy to Inference Endpoints (dedicated) instead.

Spaces using thoriqfy/indobert-emotion-classification 2