Downloads · 30 days
7
39% of all-time downloads
ketir/Emotion-Detection-BiLSTM
Emotion-Detection-BiLSTM is a machine learning model from ketir. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
--- license: apache-2.0 tags: - text-classification - emotion-classification - indonesian - bilstm - tensorflow language: - id pipelinetag: text-classification widget: - text: "Saya sangat bahagia hari ini!" - text: "…
Downloads · 30 days
7
39% of all-time downloads
All-time downloads
18
Public
Repo size
32.1 MB
Likes
0
Public
Click a slice to open those files.
.h531 MB · 97%
From the Hugging Face model README
license: apache-2.0 tags:
This model is a Bidirectional LSTM (BiLSTM) trained for emotion classification on Indonesian text. The model can predict 6 different emotions from text input.
angry - Marahfear - Takuthappy - Bahagialove - Cintasad - Sedihfrom transformers import pipeline
# Load the model
classifier = pipeline("text-classification",
model="your-username/your-model-name",
return_all_scores=True)
# Predict emotion
result = classifier("Saya sangat bahagia hari ini!")
print(result)