ketir's picture
Update README.md
1f4e38d verified
|
Raw History Blame Contribute Delete
971 Bytes
metadata
license: apache-2.0

license: apache-2.0 tags: - text-classification - emotion-classification - indonesian - bilstm - tensorflow language: - id pipeline_tag: text-classification widget: - text: "Saya sangat bahagia hari ini!" - text: "Aku merasa sedih sekali" - text: "Mengapa ini terjadi? Aku marah!"

Indonesian Emotion Classification with BiLSTM

Model Description

This model is a Bidirectional LSTM (BiLSTM) trained for emotion classification on Indonesian text. The model can predict 6 different emotions from text input.

Supported Emotions

  • angry - Marah
  • fear - Takut
  • happy - Bahagia
  • love - Cinta
  • sad - Sedih

Usage

from 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)