Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
| 1 |
-
---
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
tags:
|
| 5 |
+
- text-classification
|
| 6 |
+
- suicidal-detection
|
| 7 |
+
pipeline_tag: text-classification
|
| 8 |
+
datasets:
|
| 9 |
+
- jsfactory/mental_health_reddit_posts
|
| 10 |
+
metrics:
|
| 11 |
+
- accuracy
|
| 12 |
+
base_model:
|
| 13 |
+
- distilbert/distilbert-base-uncased
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Suicidal Detection System
|
| 17 |
+
|
| 18 |
+
This is a fine-tuned model based on a transformer architecture (e.g., BERT) for detecting suicidal intent or ideation in text. It can be used in mental health monitoring systems, chat moderation, or crisis support tools.
|
| 19 |
+
|
| 20 |
+
## Example
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from transformers import pipeline
|
| 24 |
+
classifier = pipeline("text-classification", model="Kebinnuil/suicidal_detection_model")
|
| 25 |
+
classifier("I feel like giving up.")
|