Views
No views yet
| Task | Accuracy | Labels |
|---|---|---|
| Sentiment | 95.0% | positive, negative, neutral |
| Emotion | 90.3% | happy, sad, angry, fear, surprise, disgust, love, neutral |
| Intent | 97.5% | question, statement, request, complaint, greeting, opinion |
| Average | 94.3% | - |
| Task | v3.1.0 (distilbert) | v3.2.0 (xlm-roberta) | Improvement |
|---|---|---|---|
| Sentiment | 88.5% | 95.0% | +6.5% |
| Emotion | 83.6% | 90.3% | +6.7% |
| Intent | 94.5% | 97.5% | +3.0% |
| Average | 88.9% | 94.3% | +5.4% |
1# Install
2# pip install malaysian-manglish-nlp[transformers]
3
4from malaysian_manglish_nlp.transformers.manglish_model import load_model, predict
5
6model = load_model()
7result = predict("weh best gila makanan dia")
8# {
9# "sentiment": {"label": "positive", "confidence": 0.95},
10# "emotion": {"label": "happy", "confidence": 0.91},
11# "intent": {"label": "opinion", "confidence": 0.89}
12# }pip install malaysian-manglish-nlp