Text Classification
Transformers
Safetensors
English
bert
PyTorch
multi-class-classification
text-embeddings-inference
Instructions to use AIPsy/bert-base-client-topic-classification-eng with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AIPsy/bert-base-client-topic-classification-eng with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="AIPsy/bert-base-client-topic-classification-eng")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("AIPsy/bert-base-client-topic-classification-eng") model = AutoModelForSequenceClassification.from_pretrained("AIPsy/bert-base-client-topic-classification-eng") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -30,33 +30,37 @@ id2label = {
|
|
| 30 |
13: 'Positive Emotional Experience',
|
| 31 |
14: 'Mother-Child Relationship Dynamics',
|
| 32 |
15: 'Creativity and Emotional Expression',
|
| 33 |
-
16: '
|
| 34 |
-
17: '
|
| 35 |
-
18: '
|
| 36 |
-
19: '
|
| 37 |
-
20: '
|
| 38 |
-
21: '
|
| 39 |
-
22: '
|
| 40 |
-
23: '
|
| 41 |
-
24: '
|
| 42 |
-
25: '
|
| 43 |
-
26: '
|
| 44 |
-
27: '
|
| 45 |
-
28: '
|
| 46 |
-
29: '
|
| 47 |
-
30: '
|
| 48 |
-
31: '
|
| 49 |
-
32: '
|
| 50 |
-
33: '
|
| 51 |
-
34: '
|
| 52 |
-
35: '
|
| 53 |
-
36: '
|
| 54 |
-
37: '
|
| 55 |
-
38: '
|
| 56 |
-
39: '
|
| 57 |
-
40: '
|
| 58 |
-
41: '
|
| 59 |
-
42: '
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
```
|
| 61 |
|
| 62 |
|
|
@@ -95,56 +99,60 @@ Given the broad context of issues discussed in psychotherapeutic sessions, the a
|
|
| 95 |
Score metrics of trained model
|
| 96 |
|Sample|F1 macro|
|
| 97 |
|:-|:-:|
|
| 98 |
-
|Test|0.
|
| 99 |
-
|Validation|0.
|
| 100 |
-
|Train|0.
|
| 101 |
|
| 102 |
F1 score metrics for test sample across categories
|
| 103 |
|ID|Topic|Precision|Recall|F1|
|
| 104 |
|:-:|:-|:-:|:-:|:-:|
|
| 105 |
-
|
|
| 106 |
-
|
|
| 107 |
-
|
|
| 108 |
-
|
|
| 109 |
-
|
|
| 110 |
-
|
|
| 111 |
-
|
|
| 112 |
-
|
|
| 113 |
-
|
|
| 114 |
-
|
|
| 115 |
-
|
|
| 116 |
-
|
|
| 117 |
-
|
|
| 118 |
-
|
|
| 119 |
-
|
|
| 120 |
-
|
|
| 121 |
-
|
|
| 122 |
-
|
|
| 123 |
-
|
|
| 124 |
-
|
|
| 125 |
-
|
|
| 126 |
-
|
|
| 127 |
-
|
|
| 128 |
-
|
|
| 129 |
-
|
|
| 130 |
-
|
|
| 131 |
-
|
|
| 132 |
-
|
|
| 133 |
-
|
|
| 134 |
-
|
|
| 135 |
-
|
|
| 136 |
-
|
|
| 137 |
-
|
|
| 138 |
-
|
|
| 139 |
-
|
|
| 140 |
-
|
|
| 141 |
-
|
|
| 142 |
-
|
|
| 143 |
-
|
|
| 144 |
-
|
|
| 145 |
-
|
|
| 146 |
-
|
|
| 147 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 148 |
|
| 149 |
|
| 150 |
|
|
|
|
| 30 |
13: 'Positive Emotional Experience',
|
| 31 |
14: 'Mother-Child Relationship Dynamics',
|
| 32 |
15: 'Creativity and Emotional Expression',
|
| 33 |
+
16: 'Humor and Cognitive Reframing',
|
| 34 |
+
17: 'Emotional Disturbance and Regulation',
|
| 35 |
+
18: 'Expressions of Certainty',
|
| 36 |
+
19: 'Guilt and Responsibility',
|
| 37 |
+
20: 'Self-Reflection on Maturity',
|
| 38 |
+
21: 'Sleep-Wake Cycle and Daily Rhythm',
|
| 39 |
+
22: 'Life Orientation and Authenticity',
|
| 40 |
+
23: 'Home and Attachment-Autonomy Conflict',
|
| 41 |
+
24: 'Parenting and Family Responsibility',
|
| 42 |
+
25: 'Internal Conflict and Emotional Regulation',
|
| 43 |
+
26: 'Friendship Dynamics',
|
| 44 |
+
27: 'Reflection and Awareness of Unconsidered Thought',
|
| 45 |
+
28: 'Reading as Cognitive and Reflective Engagement',
|
| 46 |
+
29: 'Processes of Personal Change',
|
| 47 |
+
30: 'Emotional Pain and Hurt',
|
| 48 |
+
31: 'Belief, Faith, and Existential Doubt',
|
| 49 |
+
32: 'Evaluation of Neurotic and Healthy States',
|
| 50 |
+
33: 'Emotional Distress and Negative Evaluation',
|
| 51 |
+
34: 'Experience and Regulation of Anger',
|
| 52 |
+
35: 'Positive Emotional Evaluation',
|
| 53 |
+
36: 'Dream Experience and Symbolic Processing',
|
| 54 |
+
37: 'Father-Child Relationship Dynamics',
|
| 55 |
+
38: 'Problem Framing and Self-Resolution',
|
| 56 |
+
39: 'Personal Learning Experiences',
|
| 57 |
+
40: 'Racial Identity and Intergroup Relations',
|
| 58 |
+
41: 'Healthcare Interactions and Medical Authority',
|
| 59 |
+
42: 'Uncertainty about Correctness',
|
| 60 |
+
43: 'Evaluation of Marriage',
|
| 61 |
+
44: 'Marital Relationship and Communication',
|
| 62 |
+
45: 'Self-Worth and Capacity for Love',
|
| 63 |
+
46: 'Self-Expression Through Appearance'}
|
| 64 |
```
|
| 65 |
|
| 66 |
|
|
|
|
| 99 |
Score metrics of trained model
|
| 100 |
|Sample|F1 macro|
|
| 101 |
|:-|:-:|
|
| 102 |
+
|Test|0.76|
|
| 103 |
+
|Validation|0.75|
|
| 104 |
+
|Train|0.94|
|
| 105 |
|
| 106 |
F1 score metrics for test sample across categories
|
| 107 |
|ID|Topic|Precision|Recall|F1|
|
| 108 |
|:-:|:-|:-:|:-:|:-:|
|
| 109 |
+
| 0 | Relationship with a Female Figure | 0.91 | 0.97 | 0.94 | 232 |
|
| 110 |
+
| 1 | Experiencing and Articulating Emotions | 0.77 | 0.82 | 0.79 | 238 |
|
| 111 |
+
| 2 | Work and Personal Fulfillment | 0.75 | 0.77 | 0.76 | 235 |
|
| 112 |
+
| 3 | Relationship with a Male Figure | 0.86 | 0.91 | 0.88 | 150 |
|
| 113 |
+
| 4 | Meaning-Making and Conceptualization | 0.79 | 0.81 | 0.80 | 277 |
|
| 114 |
+
| 5 | Education and Personal Development | 0.80 | 0.73 | 0.77 | 83 |
|
| 115 |
+
| 6 | Experience of Fear and Anxiety | 0.97 | 0.75 | 0.85 | 80 |
|
| 116 |
+
| 7 | Sexual Relationships and Identity | 0.76 | 0.80 | 0.78 | 66 |
|
| 117 |
+
| 8 | Expression and Communication Difficulties | 0.70 | 0.83 | 0.76 | 143 |
|
| 118 |
+
| 9 | Self-Acceptance and Social Relationships | 0.58 | 0.81 | 0.68 | 221 |
|
| 119 |
+
| 10 | Time Perception and Management | 0.85 | 0.71 | 0.77 | 96 |
|
| 120 |
+
| 11 | Cyclical Patterns of Experience | 0.79 | 0.65 | 0.71 | 175 |
|
| 121 |
+
| 12 | Therapy Experience and Reflection | 0.86 | 0.64 | 0.73 | 58 |
|
| 122 |
+
| 13 | Positive Emotional Experience | 0.80 | 0.63 | 0.71 | 78 |
|
| 123 |
+
| 14 | Mother-Child Relationship Dynamics | 0.82 | 0.75 | 0.79 | 61 |
|
| 124 |
+
| 15 | Creativity and Emotional Expression | 0.64 | 0.73 | 0.68 | 37 |
|
| 125 |
+
| 16 | Humor and Cognitive Reframing | 0.60 | 0.63 | 0.62 | 57 |
|
| 126 |
+
| 17 | Emotional Disturbance and Regulation | 0.74 | 0.71 | 0.72 | 193 |
|
| 127 |
+
| 18 | Expressions of Certainty | 0.96 | 0.91 | 0.94 | 207 |
|
| 128 |
+
| 19 | Guilt and Responsibility | 0.62 | 0.59 | 0.60 | 75 |
|
| 129 |
+
| 20 | Self-Reflection on Maturity | 0.71 | 0.80 | 0.75 | 45 |
|
| 130 |
+
| 21 | Sleep-Wake Cycle and Daily Rhythm | 0.78 | 0.61 | 0.68 | 41 |
|
| 131 |
+
| 22 | Life Orientation and Authenticity | 0.75 | 0.70 | 0.72 | 82 |
|
| 132 |
+
| 23 | Home and Attachment-Autonomy Conflict | 0.69 | 0.72 | 0.70 | 46 |
|
| 133 |
+
| 24 | Parenting and Family Responsibility | 0.79 | 0.70 | 0.74 | 53 |
|
| 134 |
+
| 25 | Internal Conflict and Emotional Regulation | 0.87 | 0.68 | 0.76 | 38 |
|
| 135 |
+
| 26 | Friendship Dynamics | 0.56 | 0.80 | 0.66 | 59 |
|
| 136 |
+
| 27 | Reflection and Awareness of Unconsidered Thought | 0.80 | 0.70 | 0.75 | 94 |
|
| 137 |
+
| 28 | Reading as Cognitive and Reflective Engagement | 0.62 | 0.86 | 0.72 | 35 |
|
| 138 |
+
| 29 | Processes of Personal Change | 0.69 | 0.69 | 0.69 | 39 |
|
| 139 |
+
| 30 | Emotional Pain and Hurt | 0.83 | 0.59 | 0.69 | 32 |
|
| 140 |
+
| 31 | Belief, Faith, and Existential Doubt | 0.76 | 0.91 | 0.83 | 32 |
|
| 141 |
+
| 32 | Evaluation of Neurotic and Healthy States | 0.75 | 0.75 | 0.75 | 32 |
|
| 142 |
+
| 33 | Emotional Distress and Negative Evaluation | 0.65 | 0.58 | 0.61 | 53 |
|
| 143 |
+
| 34 | Experience and Regulation of Anger | 0.61 | 0.70 | 0.65 | 33 |
|
| 144 |
+
| 35 | Positive Emotional Evaluation | 0.83 | 0.69 | 0.76 | 49 |
|
| 145 |
+
| 36 | Dream Experience and Symbolic Processing | 0.94 | 0.84 | 0.89 | 19 |
|
| 146 |
+
| 37 | Father-Child Relationship Dynamics | 0.81 | 0.83 | 0.82 | 30 |
|
| 147 |
+
| 38 | Problem Framing and Self-Resolution | 0.78 | 0.62 | 0.69 | 40 |
|
| 148 |
+
| 39 | Personal Learning Experiences | 0.59 | 0.58 | 0.58 | 33 |
|
| 149 |
+
| 40 | Racial Identity and Intergroup Relations | 1.00 | 0.73 | 0.85 | 15 |
|
| 150 |
+
| 41 | Healthcare Interactions and Medical Authority | 0.84 | 0.84 | 0.84 | 25 |
|
| 151 |
+
| 42 | Uncertainty about Correctness | 0.81 | 0.65 | 0.72 | 120 |
|
| 152 |
+
| 43 | Evaluation of Marriage | 0.79 | 0.86 | 0.83 | 22 |
|
| 153 |
+
| 44 | Marital Relationship and Communication | 0.76 | 0.62 | 0.68 | 21 |
|
| 154 |
+
| 45 | Self-Worth and Capacity for Love | 0.93 | 0.64 | 0.76 | 22 |
|
| 155 |
+
| 46 | Self-Expression Through Appearance | 0.62 | 0.64 | 0.63 | 25 |
|
| 156 |
|
| 157 |
|
| 158 |
|