Views
No views yet

bertopic-based transformer classifiertext-classificationAccuracy, Precision, Recall, F11from transformers import pipeline
2
3classifier = pipeline("text-classification", model="sankalp-indish/alexithymia-adhd-predictor")
4classifier("I often find it hard to describe how I feel.")| Input Text | Alexithymia Score | ADHD Score |
|---|---|---|
| "I often struggle to explain what I'm feeling." | 1 | 0 |
| "I get distracted easily and can't finish tasks on time." | 0 | 1 |
| "Sometimes I can't tell if I'm anxious or excited." | 1 | 0 |
| "I daydream a lot and forget what I'm doing." | 0 | 1 |
0.5 and 0.3 (based on the availability of the dataset) suggest strong presence of that trait.