--- datasets: - suchintikasarkar/sentiment-analysis-for-mental-health language: - en library_name: transformers license: apache-2.0 metrics: - accuracy - f1 pipeline_tag: question-answering tags: - mental_health - llama-3.1 --- ## Llama-3.1-8B-Instruct-Mental-Health-Classification This model is a fine-tuned version of [meta-llama/Meta-Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Meta-Llama-3.1-8B-Instruct) on an [suchintikasarkar/sentiment-analysis-for-mental-health](https://www.kaggle.com/datasets/suchintikasarkar/sentiment-analysis-for-mental-health) dataset. ## Results ```bash 100%|██████████| 300/300 [03:24<00:00, 1.47it/s] Accuracy: 0.913 Accuracy for label Normal: 0.972 Accuracy for label Depression: 0.913 Accuracy for label Anxiety: 0.667 Accuracy for label Bipolar: 0.800 ``` **Classification Report:** ```bash precision recall f1-score support Normal 0.92 0.97 0.95 143 Depression 0.93 0.91 0.92 115 Anxiety 0.75 0.67 0.71 27 Bipolar 1.00 0.80 0.89 15 accuracy 0.91 300 macro avg 0.90 0.84 0.87 300 weighted avg 0.91 0.91 0.91 300 ``` **Confusion Matrix:** ```bash [[139 3 1 0] [ 5 105 5 0] [ 6 3 18 0] [ 1 2 0 12]] ```