
Detect mental health signals: anxiety, depression, self-harm, and crisis indicators. Enable early intervention and user safety on digital platforms.
The Bynn Mental Health Detection model analyzes text to identify indicators of mental health concerns including anxiety, depression, and crisis signals. This model helps platforms provide timely support resources and crisis intervention while respecting user privacy and wellbeing.
Mental health crises unfold in plain sight on digital platforms. Users express distress in posts, messages, and comments—subtle cries for help that human moderators cannot catch at scale. By the time someone reports concerning content, days may have passed. For individuals in crisis, that delay can be fatal.
The language of mental distress is often subtle and indirect. People experiencing suicidal ideation may not explicitly state intent. Depression manifests as hopelessness and numbness. Anxiety appears as worry and catastrophizing. Distinguishing genuine distress from casual hyperbole ("this meeting is killing me") requires understanding context, tone, and linguistic patterns that simple keyword matching misses entirely.
Platforms face an ethical imperative: detect users in crisis and connect them with help, but do so respectfully without stigmatization or false alarms that erode trust. The challenge is identifying those who need intervention while preserving the dignity and agency of users discussing mental health openly.
The Bynn Mental Health Detection model performs multi-class text classification to identify mental health indicators in user content. Trained on extensive mental health text data from social platforms and support communities, the model recognizes linguistic patterns associated with different mental health states.
Achieving 99.9% accuracy, the model detects subtle distress signals that enable early intervention and resource connection. This is a screening and support tool, not a diagnostic instrument.
The model employs advanced natural language understanding to analyze mental health indicators:
The API returns a structured response containing:
| Category | Indicators | Example Language |
|---|---|---|
| Anxiety | Excessive worry, panic, fear of future events, physical symptoms of anxiety, catastrophizing | "Can't stop worrying", "chest feels tight", "feel like something bad will happen", "constant panic" |
| Depression | Hopelessness, anhedonia, persistent sadness, worthlessness, loss of motivation, isolation | "Nothing helps", "can't feel anything", "no point anymore", "everyone better off without me" |
| Suicidal | Suicidal ideation, self-harm references, desire to end life, expressions of wanting to die | "Don't want to be here", "can't do this anymore", "rather not exist", "ending it" |
| Normal | Casual stress expression, hyperbole, everyday frustrations without mental health indicators | "This is killing me lol", "gonna die from boredom", "can't even" (casual usage) |
| Metric | Value |
|---|---|
| Classification Accuracy | 99.9% |
| Average Response Time | 150ms |
| Max File Size | 1MB |
| Supported Formats | TXT, JSON |
Critical Considerations:
⚠️ This model is a screening tool, NOT a replacement for mental health professionals.
Best Practice: Implement a tiered response system: provide resources for anxiety/depression indicators, escalate to immediate crisis intervention for suicidal content, and maintain 24/7 access to human crisis counselors for users who reach out.
Classifies text for mental health indicators (anxiety, depression, suicidal ideation)
textstringRequiredText content to analyze for mental health indicators
I've been feeling really anxious about everything latelyMental health classification with multi-category probabilities
labelstringPrimary classification
normalanxiety_probabilityfloatProbability of anxiety indicators (0.0-1.0)
0.15depression_probabilityfloatProbability of depression indicators (0.0-1.0)
0.1normal_probabilityfloatProbability of normal mental state (0.0-1.0)
0.7suicidal_probabilityfloatProbability of suicidal ideation (0.0-1.0)
0.05confidencefloatClassification confidence (0.0-1.0)
0.85is_concernbooleanTrue if content indicates mental health concern requiring attention
false{
"model": "mental-health-detection",
"content": "I've been feeling really anxious about everything lately"
}{
"success": true,
"data": {
"label": "normal",
"anxiety_probability": 0.15,
"depression_probability": 0.1,
"normal_probability": 0.7,
"suicidal_probability": 0.05,
"confidence": 0.85,
"is_concern": false
}
}429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.Integrate Mental Health Detection into your application today with our easy-to-use API.