Upload folder using huggingface_hub
Browse files- README.md +9 -5
- config.json +1 -1
- pytorch_model.bin +1 -1
- tokenizer.json +16 -2
README.md
CHANGED
|
@@ -1,18 +1,22 @@
|
|
| 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 |
- **DistilBERT** β [CLS] global context (768-dim)
|
| 12 |
-
|
| 13 |
-
- **
|
|
|
|
|
|
|
| 14 |
|
| 15 |
## Labels
|
| 16 |
-
positive | sadness | anger | anxiety | confusion | curiosity | neutral
|
| 17 |
|
| 18 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
language: en
|
| 3 |
tags: [text-classification, emotion-detection, mental-health, hci, distilbert, cnn]
|
| 4 |
+
datasets: [dair-ai/emotion]
|
| 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 |
+
- **CNN (kernels 2,3,4)** β local n-gram patterns (384-dim)
|
| 15 |
+
|
| 16 |
+
- **Fusion** β 1152-dim β Linear(512) β Linear(6)
|
| 17 |
|
| 18 |
## Labels
|
|
|
|
| 19 |
|
| 20 |
+
sadness | joy | love | anger | fear | surprise
|
| 21 |
+
|
| 22 |
+
Best Val F1: **0.9239**
|
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.9239
|
| 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:db6cac014d526d8fb57cc379755150ce672720c0a4d193038b8d538e438061db
|
| 3 |
size 284087647
|
tokenizer.json
CHANGED
|
@@ -1,7 +1,21 @@
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
-
"truncation":
|
| 4 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
"added_tokens": [
|
| 6 |
{
|
| 7 |
"id": 0,
|
|
|
|
| 1 |
{
|
| 2 |
"version": "1.0",
|
| 3 |
+
"truncation": {
|
| 4 |
+
"direction": "Right",
|
| 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,
|