Downloads · 30 days
8
24% of all-time downloads
gaguine/PsychoClass
PsychoClass is a text classification model from gaguine. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of distilbert/distilbert-base-multilingual-cased for multiclass classification of short English statements into seven mental-state categories.
Downloads · 30 days
8
24% of all-time downloads
All-time downloads
34
Public
Parameters
167M
669 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors669 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of
distilbert/distilbert-base-multilingual-cased
for multiclass classification of short English statements into seven mental-state categories.
It was developed as part of a 2026 master's thesis on language modelling and fine-tuning language models for mental-state text classification.
Important: This is a research model, not a medical or psychological diagnostic system. Its output must not be interpreted as a clinical diagnosis, risk assessment, or substitute for a qualified professional.
distilbert/distilbert-base-multilingual-casedThe base model contains six Transformer layers, a hidden size of 768, 12 attention heads, and approximately 134 million parameters. It was selected to provide a practical balance between classification performance and computational requirements.
| ID | Label |
|---|---|
| 0 | Normal |
| 1 | Depression |
| 2 | Suicidal |
| 3 | Anxiety |
| 4 | Stress |
| 5 | Bipolar |
| 6 | Personality disorder |
The predicted categories describe patterns learned from the dataset. They do not establish whether a person has any medical condition.
The model is intended for:
The model is not intended for:
The model was fine-tuned on the Kaggle
Sentiment Analysis for Mental Health
dataset. The dataset contains 51,074 labelled statements collected from several public online sources, including social-media platforms, forums, Twitter/X, and Reddit.
The class distribution reported in the thesis is imbalanced:
| Class | Approximate share |
|---|---|
| Normal | 31% |
| Depression | 29% |
| Suicidal | 20% |
| Anxiety | 7% |
| Bipolar | 5% |
| Stress | 5% |
| Personality disorder | 2% |
Because the dataset aggregates multiple sources, its examples may differ in writing style, length, subject matter, annotation methods, and annotation reliability.
The data was randomly divided using seed 42 into approximately:
| Hyperparameter | Value |
|---|---|
| Learning rate | 3e-5 |
| Training batch size per device | 8 |
| Evaluation batch size per device | 8 |
| Epochs | 15 |
| Maximum sequence length | 256 |
| Weight decay | 0.01 |
| Warmup ratio | 0.1 |
| Random seed | 42 |
Logging, validation, and checkpoint saving were performed after every epoch. Checkpoint selection was configured to maximize Macro F1.
Macro F1 was the main evaluation metric because the dataset is imbalanced. The fine-tuned model reached a test Macro F1 of 0.803, compared with 0.096 for the unfine-tuned base model in the reported experiment.
| Class | Base model | Fine-tuned model |
|---|---|---|
| Normal | 0.278 | 0.937 |
| Depression | 0.000 | 0.756 |
| Suicidal | 0.332 | 0.673 |
| Anxiety | 0.000 | 0.889 |
| Stress | 0.048 | 0.719 |
| Bipolar | 0.000 | 0.872 |
| Personality disorder | 0.014 | 0.774 |
| Macro F1 | 0.096 | 0.803 |
The most important reported confusion was between the Suicidal and Depression categories. The model also sometimes classified Stress examples as Normal.
Depression and Suicidal.@mastersthesis{butera2026mentalstate,
author = {Butera, Gaetano Antonio},
title = {Language Modelling and Fine-Tuning Large Language Models for the Classification of Texts by Mental-State Category},
school = {Volga State University of Technology},
year = {2026}
}