|
--- |
|
title: Multilingual Emotion Classifier Demo |
|
emoji: π |
|
colorFrom: blue |
|
colorTo: purple |
|
sdk: gradio |
|
sdk_version: 5.35.0 |
|
app_file: app.py |
|
pinned: false |
|
license: apache-2.0 |
|
--- |
|
|
|
# π Multilingual Emotion Classifier - Interactive Demo |
|
|
|
Test the `rmtariq/multilingual-emotion-classifier` model with this interactive web interface! |
|
|
|
## π Features |
|
|
|
- **π― Single Text Analysis**: Analyze individual texts with confidence scoring |
|
- **π Batch Processing**: Process multiple texts with visualizations |
|
- **π§ͺ Model Testing**: Run predefined tests to validate performance |
|
- **π Multilingual**: Support for English and Malay languages |
|
|
|
## π Model Performance |
|
|
|
- **Overall Accuracy**: 85.0% |
|
- **English Performance**: 100% |
|
- **Malay Performance**: 100% (all issues fixed) |
|
- **Speed**: 20+ predictions/second |
|
|
|
## π― Supported Emotions |
|
|
|
| Emotion | Emoji | Example | |
|
|---------|-------|---------| |
|
| Anger | π | "I'm so angry!" | |
|
| Fear | π¨ | "I'm scared!" | |
|
| Happy | π | "I'm so happy!" | |
|
| Love | β€οΈ | "I love you!" | |
|
| Sadness | π’ | "I'm so sad" | |
|
| Surprise | π² | "What a surprise!" | |
|
|
|
## π§ͺ Try These Examples |
|
|
|
### English: |
|
- "I am so happy today!" |
|
- "This makes me really angry!" |
|
- "I love this product!" |
|
|
|
### Malay: |
|
- "Saya sangat gembira!" |
|
- "Ini adalah hari jadi terbaik!" |
|
- "Terbaik!" |
|
|
|
## π Contact |
|
|
|
- **Author**: rmtariq |
|
- **Model**: [rmtariq/multilingual-emotion-classifier](https://huggingface.co/rmtariq/multilingual-emotion-classifier) |