Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language: en
|
| 3 |
+
tags:
|
| 4 |
+
- mental-health
|
| 5 |
+
- healthcare
|
| 6 |
+
- conversational
|
| 7 |
+
- wellness
|
| 8 |
+
- SmolLM-135M
|
| 9 |
+
- fine-tuned
|
| 10 |
+
license: mit
|
| 11 |
+
pipeline_tag: text-generation
|
| 12 |
+
---
|
| 13 |
+
|
| 14 |
+
# Wellness-Mini: Mental Health Conversational AI
|
| 15 |
+
|
| 16 |
+
## Model Description
|
| 17 |
+
Wellness-Mini is a fine-tuned version of SmolLM-135M, specifically adapted for mental health conversations and assessments. The model is designed to:
|
| 18 |
+
- Provide mental health assessments based on user conversations
|
| 19 |
+
- Identify potential indicators of ADHD and Bipolar disorder
|
| 20 |
+
- Analyze emotional indicators and stress levels
|
| 21 |
+
- Maintain clear AI identity as a Sentinet AI Systems creation
|
| 22 |
+
|
| 23 |
+
## Base Model
|
| 24 |
+
- Original model: SmolLM-135M (HuggingFaceTB/SmolLM-135M)
|
| 25 |
+
- Architecture: Causal Language Model
|
| 26 |
+
- Size: 135M parameters
|
| 27 |
+
|
| 28 |
+
## Training Data
|
| 29 |
+
The model was trained on a curated dataset including:
|
| 30 |
+
- Reddit posts from mental health communities (ADHD and Bipolar subreddits)
|
| 31 |
+
- Professional medical prescriptions and guidelines
|
| 32 |
+
- Identity training examples
|
| 33 |
+
- Emotional and behavioral indicators
|
| 34 |
+
|
| 35 |
+
## Features
|
| 36 |
+
1. **Mental Health Assessment**
|
| 37 |
+
- Primary condition identification
|
| 38 |
+
- Additional symptom indicators
|
| 39 |
+
- Emotional state analysis
|
| 40 |
+
|
| 41 |
+
2. **Identity Awareness**
|
| 42 |
+
- Consistently identifies as a Sentinet AI Systems creation
|
| 43 |
+
- Clear AI identity in responses
|
| 44 |
+
|
| 45 |
+
3. **Clinical Indicators Analysis**
|
| 46 |
+
- Sentiment analysis
|
| 47 |
+
- Anxiety levels
|
| 48 |
+
- Stress indicators
|
| 49 |
+
- Emotional valence
|
| 50 |
+
|
| 51 |
+
## Usage
|
| 52 |
+
``` python
|
| 53 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 54 |
+
Load model and tokenizer
|
| 55 |
+
model_name = "ombhojane/wellness-mini"
|
| 56 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 57 |
+
model = AutoModelForCausalLM.from_pretrained(model_name)
|
| 58 |
+
Example usage
|
| 59 |
+
messages = [{"role": "user", "content": "Who created you?"}]
|
| 60 |
+
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
|
| 61 |
+
inputs = tokenizer(prompt, return_tensors="pt")
|
| 62 |
+
outputs = model.generate(inputs, max_new_tokens=50)
|
| 63 |
+
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
## Limitations
|
| 68 |
+
- This is an AI assistant and not a replacement for professional medical advice
|
| 69 |
+
- Should be used as a supplementary tool only
|
| 70 |
+
- May not be suitable for emergency situations
|
| 71 |
+
- Responses should be verified by healthcare professionals
|
| 72 |
+
|
| 73 |
+
## Ethical Considerations
|
| 74 |
+
- The model should be used responsibly in mental health contexts
|
| 75 |
+
- User privacy and data protection should be prioritized
|
| 76 |
+
- Clear disclosure of AI nature in healthcare applications
|
| 77 |
+
|
| 78 |
+
## Creator
|
| 79 |
+
This model was developed by Om Bhojane.
|
| 80 |
+
|
| 81 |
+
## Citation
|
| 82 |
+
If you use this model in your research or application, please cite:
|
| 83 |
+
```
|
| 84 |
+
@misc{wellness-mini,
|
| 85 |
+
author = {Om Bhojane},
|
| 86 |
+
title = {Wellness-Mini: Mental Health Conversational AI},
|
| 87 |
+
year = {2024},
|
| 88 |
+
publisher = {HuggingFace},
|
| 89 |
+
journal = {HuggingFace Hub},
|
| 90 |
+
howpublished = {\url{https://huggingface.co/ombhojane/wellness-mini}}
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
```
|