Upload Psychic Jerry 7-Class Mental Health Classifier (91.2MB, Acc: 82.27%)
Browse files- PsychicJerry/README.md +29 -0
- PsychicJerry/config.json +31 -0
- PsychicJerry/labels.json +29 -0
- PsychicJerry/psychic_jerry_int4.pt +3 -0
- PsychicJerry/tokenizer.json +0 -0
PsychicJerry/README.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: mit
|
| 5 |
+
tags:
|
| 6 |
+
- modernbert
|
| 7 |
+
- int4
|
| 8 |
+
- qat
|
| 9 |
+
- mental-health
|
| 10 |
+
- sentiment-analysis
|
| 11 |
+
- classification
|
| 12 |
+
- jerry
|
| 13 |
+
pipeline_tag: text-classification
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# Psychic Jerry (7-Class Mental Health & Psychological Classifier — INT4 W4A16)
|
| 17 |
+
|
| 18 |
+
**Psychic Jerry** is a specialized 4-bit quantized NLU model built on the **Jerry ModernBERT** architecture, fine-tuned on ~53,000 statements across 7 psychological categories:
|
| 19 |
+
- `Normal`
|
| 20 |
+
- `Depression`
|
| 21 |
+
- `Suicidal`
|
| 22 |
+
- `Anxiety`
|
| 23 |
+
- `Bipolar`
|
| 24 |
+
- `Stress`
|
| 25 |
+
- `Personality disorder`
|
| 26 |
+
|
| 27 |
+
- **Model Size**: **91.2 MB** (vs 220 MB FP16 — **75% linear layer reduction**).
|
| 28 |
+
- **Quantization**: **W4A16 (Weight-Only INT4 with Group-Wise QAT, group_size=64)**.
|
| 29 |
+
- **Validation Accuracy**: **82.27%**.
|
PsychicJerry/config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"vocab_size": 32768,
|
| 3 |
+
"n_embd": 768,
|
| 4 |
+
"n_head": 12,
|
| 5 |
+
"n_layer": 12,
|
| 6 |
+
"intermediate_size": 2048,
|
| 7 |
+
"block_size": 1024,
|
| 8 |
+
"rope_theta": 500000.0,
|
| 9 |
+
"norm_eps": 1e-05,
|
| 10 |
+
"dropout": 0.0,
|
| 11 |
+
"max_iters": 150000,
|
| 12 |
+
"learning_rate": 0.0006,
|
| 13 |
+
"min_lr": 6e-05,
|
| 14 |
+
"warmup_iters": 3000,
|
| 15 |
+
"weight_decay": 0.01,
|
| 16 |
+
"beta1": 0.9,
|
| 17 |
+
"beta2": 0.98,
|
| 18 |
+
"grad_clip": 1.0,
|
| 19 |
+
"batch_size": 4,
|
| 20 |
+
"gradient_accumulation_steps": 8,
|
| 21 |
+
"mask_prob": 0.2,
|
| 22 |
+
"log_interval": 50,
|
| 23 |
+
"eval_interval": 500,
|
| 24 |
+
"eval_iters": 20,
|
| 25 |
+
"save_interval": 200,
|
| 26 |
+
"hf_repo": "Amogh1221/bellhart_training",
|
| 27 |
+
"device": "cuda",
|
| 28 |
+
"dtype": "bfloat16",
|
| 29 |
+
"tf32": true,
|
| 30 |
+
"use_8bit_optimizer": false
|
| 31 |
+
}
|
PsychicJerry/labels.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"classes": [
|
| 3 |
+
"Normal",
|
| 4 |
+
"Depression",
|
| 5 |
+
"Suicidal",
|
| 6 |
+
"Anxiety",
|
| 7 |
+
"Bipolar",
|
| 8 |
+
"Stress",
|
| 9 |
+
"Personality disorder"
|
| 10 |
+
],
|
| 11 |
+
"label2id": {
|
| 12 |
+
"Normal": 0,
|
| 13 |
+
"Depression": 1,
|
| 14 |
+
"Suicidal": 2,
|
| 15 |
+
"Anxiety": 3,
|
| 16 |
+
"Bipolar": 4,
|
| 17 |
+
"Stress": 5,
|
| 18 |
+
"Personality disorder": 6
|
| 19 |
+
},
|
| 20 |
+
"id2label": {
|
| 21 |
+
"0": "Normal",
|
| 22 |
+
"1": "Depression",
|
| 23 |
+
"2": "Suicidal",
|
| 24 |
+
"3": "Anxiety",
|
| 25 |
+
"4": "Bipolar",
|
| 26 |
+
"5": "Stress",
|
| 27 |
+
"6": "Personality disorder"
|
| 28 |
+
}
|
| 29 |
+
}
|
PsychicJerry/psychic_jerry_int4.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f3d2219e32b4c48f7295c7d760b47fc827b847ca631356bdb1d8e38cfa0dfb8
|
| 3 |
+
size 95582845
|
PsychicJerry/tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|