Upload folder using huggingface_hub
Browse files- README.md +5 -9
- config.json +1 -1
- pytorch_model.bin +1 -1
- tokenizer.json +2 -16
README.md
CHANGED
|
@@ -1,22 +1,18 @@
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
tags: [text-classification, emotion-detection, mental-health, hci, distilbert, cnn]
|
| 4 |
-
datasets: [
|
| 5 |
metrics: [f1, accuracy]
|
| 6 |
---
|
| 7 |
# MoodShift β Hybrid DistilBERT + CNN Emotion Classifier
|
| 8 |
Novel hybrid architecture for HCI research (ICCA 2026).
|
| 9 |
|
| 10 |
## Architecture
|
| 11 |
-
|
| 12 |
- **DistilBERT** β [CLS] global context (768-dim)
|
| 13 |
-
|
| 14 |
-
- **
|
| 15 |
-
|
| 16 |
-
- **Fusion** β 1152-dim β Linear(512) β Linear(6)
|
| 17 |
|
| 18 |
## Labels
|
|
|
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
Best Val F1: **0.9239**
|
|
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
tags: [text-classification, emotion-detection, mental-health, hci, distilbert, cnn]
|
| 4 |
+
datasets: [go_emotions]
|
| 5 |
metrics: [f1, accuracy]
|
| 6 |
---
|
| 7 |
# MoodShift β Hybrid DistilBERT + CNN Emotion Classifier
|
| 8 |
Novel hybrid architecture for HCI research (ICCA 2026).
|
| 9 |
|
| 10 |
## Architecture
|
|
|
|
| 11 |
- **DistilBERT** β [CLS] global context (768-dim)
|
| 12 |
+
- **CNN (kernels 2,3,4)** β local n-gram emotion patterns (384-dim)
|
| 13 |
+
- **Fusion** β 1152-dim β Linear(512) β Linear(7)
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Labels
|
| 16 |
+
positive | sadness | anger | anxiety | confusion | curiosity | neutral
|
| 17 |
|
| 18 |
+
Best Val F1: **0.9141**
|
|
|
|
|
|
config.json
CHANGED
|
@@ -26,5 +26,5 @@
|
|
| 26 |
],
|
| 27 |
"max_len": 128,
|
| 28 |
"bert_base": "distilbert-base-uncased",
|
| 29 |
-
"best_val_f1": 0.
|
| 30 |
}
|
|
|
|
| 26 |
],
|
| 27 |
"max_len": 128,
|
| 28 |
"bert_base": "distilbert-base-uncased",
|
| 29 |
+
"best_val_f1": 0.9141
|
| 30 |
}
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 284087647
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5214900f5f71b97e773afcea442d8328ca1c4e03db843c60329917ebacfd6f07
|
| 3 |
size 284087647
|
tokenizer.json
CHANGED
|
@@ -1,21 +1,7 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
| 5 |
-
"max_length": 128,
|
| 6 |
-
"strategy": "LongestFirst",
|
| 7 |
-
"stride": 0
|
| 8 |
-
},
|
| 9 |
-
"padding": {
|
| 10 |
-
"strategy": {
|
| 11 |
-
"Fixed": 128
|
| 12 |
-
},
|
| 13 |
-
"direction": "Right",
|
| 14 |
-
"pad_to_multiple_of": null,
|
| 15 |
-
"pad_id": 0,
|
| 16 |
-
"pad_type_id": 0,
|
| 17 |
-
"pad_token": "[PAD]"
|
| 18 |
-
},
|
| 19 |
"added_tokens": [
|
| 20 |
{
|
| 21 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": null,
|
| 4 |
+
"padding": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|