Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,49 @@
|
|
| 1 |
---
|
| 2 |
-
title: Depression Detection
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
license: mit
|
| 11 |
-
short_description: MCP-enabled depression detection agent using Mental-Longform
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Early Depression Detection MCP Agent
|
| 3 |
+
emoji: 🧠
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 5.0.0
|
| 8 |
app_file: app.py
|
| 9 |
+
tags:
|
| 10 |
+
- mcp-in-action-track-consumer
|
| 11 |
+
- depression-detection
|
| 12 |
+
- mental-health
|
| 13 |
+
- longformer
|
| 14 |
+
- mcp
|
| 15 |
+
- agents
|
| 16 |
license: mit
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# 🧠 Early Depression Detection MCP Agent
|
| 20 |
+
|
| 21 |
+
**Hackathon:** MCP 1st Birthday - Track 2: MCP in Action (Consumer)
|
| 22 |
+
**Author:** Hassan Hassanzadeh Aliabadi | [LinkedIn](https://www.linkedin.com/in/hassanzh/)
|
| 23 |
+
|
| 24 |
+
## Demo Video
|
| 25 |
+
[INSERT YOUTUBE LINK HERE]
|
| 26 |
+
|
| 27 |
+
## Social Media Post
|
| 28 |
+
[INSERT LINKEDIN/X POST LINK HERE]
|
| 29 |
+
|
| 30 |
+
## Project Description
|
| 31 |
+
This MCP-enabled agent detects depression risk from social media text using Mental-Longformer, achieving F1-score of 0.7668 on eRisk 2025 test data.
|
| 32 |
+
|
| 33 |
+
**Key Features:**
|
| 34 |
+
- 4,096-token context window (8x BERT's capacity)
|
| 35 |
+
- Trained on eRisk 2017-2022 datasets
|
| 36 |
+
- Data augmentation with Gemini 2.5 Flash Lite
|
| 37 |
+
- Real-time linguistic pattern analysis
|
| 38 |
+
|
| 39 |
+
**Model:** [avtak/erisk-longformer-depression-v1](https://huggingface.co/avtak/erisk-longformer-depression-v1)
|
| 40 |
+
|
| 41 |
+
## How It Works
|
| 42 |
+
The agent analyzes long-form text for linguistic markers including:
|
| 43 |
+
- Anhedonia (loss of interest)
|
| 44 |
+
- Self-focused negative language
|
| 45 |
+
- Social withdrawal indicators
|
| 46 |
+
- Hopelessness themes
|
| 47 |
+
|
| 48 |
+
## Team
|
| 49 |
+
- Hassan Hassanzadeh Aliabadi (@avtak)
|