Views
No views yet
bert-base-uncased for 5-class mental health classification of social media posts.
Developed as part of a COM748 Masters Research Project: Explainable Transformer Based Framework
for Early Detection of Mental Health Disorders from Social Media Text.| ID | Label |
|---|---|
| 0 | Anxiety/Stress |
| 1 | Bipolar |
| 2 | Depression |
| 3 | Normal |
| 4 | Suicidal |
| Metric | Score |
|---|---|
| Accuracy | 83.4% |
| Macro F1 | 0.841 |
1from transformers import pipeline
2
3clf = pipeline("text-classification", model="usman-isb/bert-mental-health-detection")
4print(clf("lately I cannot stop worrying about everything, my heart races all day"))