AnasAlokla commited on
Commit
cc486b2
·
verified ·
1 Parent(s): 8c758bc

Upload 7 files

Browse files
config.json ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForSequenceClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "classifier_dropout": null,
7
+ "directionality": "bidi",
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.1,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "admiration",
13
+ "1": "amusement",
14
+ "2": "anger",
15
+ "3": "annoyance",
16
+ "4": "approval",
17
+ "5": "caring",
18
+ "6": "confusion",
19
+ "7": "curiosity",
20
+ "8": "desire",
21
+ "9": "disappointment",
22
+ "10": "disapproval",
23
+ "11": "disgust",
24
+ "12": "embarrassment",
25
+ "13": "excitement",
26
+ "14": "fear",
27
+ "15": "gratitude",
28
+ "16": "grief",
29
+ "17": "joy",
30
+ "18": "love",
31
+ "19": "nervousness",
32
+ "20": "optimism",
33
+ "21": "pride",
34
+ "22": "realization",
35
+ "23": "relief",
36
+ "24": "remorse",
37
+ "25": "sadness",
38
+ "26": "surprise",
39
+ "27": "neutral"
40
+ },
41
+ "initializer_range": 0.02,
42
+ "intermediate_size": 3072,
43
+ "label2id": {
44
+ "admiration": 0,
45
+ "amusement": 1,
46
+ "anger": 2,
47
+ "annoyance": 3,
48
+ "approval": 4,
49
+ "caring": 5,
50
+ "confusion": 6,
51
+ "curiosity": 7,
52
+ "desire": 8,
53
+ "disappointment": 9,
54
+ "disapproval": 10,
55
+ "disgust": 11,
56
+ "embarrassment": 12,
57
+ "excitement": 13,
58
+ "fear": 14,
59
+ "gratitude": 15,
60
+ "grief": 16,
61
+ "joy": 17,
62
+ "love": 18,
63
+ "nervousness": 19,
64
+ "neutral": 27,
65
+ "optimism": 20,
66
+ "pride": 21,
67
+ "realization": 22,
68
+ "relief": 23,
69
+ "remorse": 24,
70
+ "sadness": 25,
71
+ "surprise": 26
72
+ },
73
+ "layer_norm_eps": 1e-12,
74
+ "max_position_embeddings": 512,
75
+ "model_type": "bert",
76
+ "num_attention_heads": 12,
77
+ "num_hidden_layers": 12,
78
+ "pad_token_id": 0,
79
+ "pooler_fc_size": 768,
80
+ "pooler_num_attention_heads": 12,
81
+ "pooler_num_fc_layers": 3,
82
+ "pooler_size_per_head": 128,
83
+ "pooler_type": "first_token_transform",
84
+ "position_embedding_type": "absolute",
85
+ "problem_type": "multi_label_classification",
86
+ "torch_dtype": "float32",
87
+ "transformers_version": "4.52.3",
88
+ "type_vocab_size": 2,
89
+ "use_cache": true,
90
+ "vocab_size": 119547
91
+ }
emotion_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "label_0": "admiration",
3
+ "label_1": "amusement",
4
+ "label_2": "anger",
5
+ "label_3": "annoyance",
6
+ "label_4": "approval",
7
+ "label_5": "caring",
8
+ "label_6": "confusion",
9
+ "label_7": "curiosity",
10
+ "label_8": "desire",
11
+ "label_9": "disappointment",
12
+ "label_10": "disapproval",
13
+ "label_11": "disgust",
14
+ "label_12": "embarrassment",
15
+ "label_13": "excitement",
16
+ "label_14": "fear",
17
+ "label_15": "gratitude",
18
+ "label_16": "grief",
19
+ "label_17": "joy",
20
+ "label_18": "love",
21
+ "label_19": "nervousness",
22
+ "label_20": "optimism",
23
+ "label_21": "pride",
24
+ "label_22": "realization",
25
+ "label_23": "relief",
26
+ "label_24": "remorse",
27
+ "label_25": "sadness",
28
+ "label_26": "surprise",
29
+ "label_27": "neutral"
30
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2997b3cb3d631a1c28f909f858b5dc8f201a063661060716599e14f289083274
3
+ size 711523440
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
test_evaluation.json ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "emotion_config": {
3
+ "label_0": "admiration",
4
+ "label_1": "amusement",
5
+ "label_2": "anger",
6
+ "label_3": "annoyance",
7
+ "label_4": "approval",
8
+ "label_5": "caring",
9
+ "label_6": "confusion",
10
+ "label_7": "curiosity",
11
+ "label_8": "desire",
12
+ "label_9": "disappointment",
13
+ "label_10": "disapproval",
14
+ "label_11": "disgust",
15
+ "label_12": "embarrassment",
16
+ "label_13": "excitement",
17
+ "label_14": "fear",
18
+ "label_15": "gratitude",
19
+ "label_16": "grief",
20
+ "label_17": "joy",
21
+ "label_18": "love",
22
+ "label_19": "nervousness",
23
+ "label_20": "optimism",
24
+ "label_21": "pride",
25
+ "label_22": "realization",
26
+ "label_23": "relief",
27
+ "label_24": "remorse",
28
+ "label_25": "sadness",
29
+ "label_26": "surprise",
30
+ "label_27": "neutral"
31
+ },
32
+ "overall_metrics": {
33
+ "accuracy": 0.9628971544394431,
34
+ "micro_f1": 0.48107013560778056,
35
+ "macro_f1": 0.39777339217053154,
36
+ "exact_match": 0.3594680916405626
37
+ },
38
+ "per_class_metrics": {
39
+ "admiration": {
40
+ "f1": 0.5973354543646848,
41
+ "precision": 0.6708351942831621,
42
+ "recall": 0.5383512544802868
43
+ },
44
+ "amusement": {
45
+ "f1": 0.7380568974771873,
46
+ "precision": 0.739247311827957,
47
+ "recall": 0.7368703108252947
48
+ },
49
+ "anger": {
50
+ "f1": 0.32167832167832167,
51
+ "precision": 0.40902872777017785,
52
+ "recall": 0.2650709219858156
53
+ },
54
+ "annoyance": {
55
+ "f1": 0.21100226073850792,
56
+ "precision": 0.29473684210526313,
57
+ "recall": 0.1643192488262911
58
+ },
59
+ "approval": {
60
+ "f1": 0.27880690737833597,
61
+ "precision": 0.4069660861594867,
62
+ "recall": 0.21203438395415472
63
+ },
64
+ "caring": {
65
+ "f1": 0.3081761006289308,
66
+ "precision": 0.4298245614035088,
67
+ "recall": 0.24019607843137256
68
+ },
69
+ "confusion": {
70
+ "f1": 0.37506185056902525,
71
+ "precision": 0.3786213786213786,
72
+ "recall": 0.3715686274509804
73
+ },
74
+ "curiosity": {
75
+ "f1": 0.410913872452334,
76
+ "precision": 0.47782874617737003,
77
+ "recall": 0.3604382929642445
78
+ },
79
+ "desire": {
80
+ "f1": 0.37515842839036756,
81
+ "precision": 0.39466666666666667,
82
+ "recall": 0.357487922705314
83
+ },
84
+ "disappointment": {
85
+ "f1": 0.21895861148197596,
86
+ "precision": 0.33884297520661155,
87
+ "recall": 0.16173570019723865
88
+ },
89
+ "disapproval": {
90
+ "f1": 0.17687074829931973,
91
+ "precision": 0.32943469785575047,
92
+ "recall": 0.12088698140200287
93
+ },
94
+ "disgust": {
95
+ "f1": 0.3207885304659498,
96
+ "precision": 0.34689922480620156,
97
+ "recall": 0.29833333333333334
98
+ },
99
+ "embarrassment": {
100
+ "f1": 0.37176470588235294,
101
+ "precision": 0.42702702702702705,
102
+ "recall": 0.32916666666666666
103
+ },
104
+ "excitement": {
105
+ "f1": 0.26104417670682734,
106
+ "precision": 0.34946236559139787,
107
+ "recall": 0.20833333333333334
108
+ },
109
+ "fear": {
110
+ "f1": 0.4919786096256685,
111
+ "precision": 0.5263157894736842,
112
+ "recall": 0.46184738955823296
113
+ },
114
+ "gratitude": {
115
+ "f1": 0.909873417721519,
116
+ "precision": 0.9234326824254881,
117
+ "recall": 0.8967065868263473
118
+ },
119
+ "grief": {
120
+ "f1": 0.2535211267605634,
121
+ "precision": 0.2571428571428571,
122
+ "recall": 0.25
123
+ },
124
+ "joy": {
125
+ "f1": 0.40897235263432447,
126
+ "precision": 0.4429378531073446,
127
+ "recall": 0.3798449612403101
128
+ },
129
+ "love": {
130
+ "f1": 0.7496519075466443,
131
+ "precision": 0.7566048341765037,
132
+ "recall": 0.7428256070640177
133
+ },
134
+ "nervousness": {
135
+ "f1": 0.34418604651162793,
136
+ "precision": 0.3894736842105263,
137
+ "recall": 0.30833333333333335
138
+ },
139
+ "optimism": {
140
+ "f1": 0.44782608695652176,
141
+ "precision": 0.5295629820051414,
142
+ "recall": 0.3879472693032015
143
+ },
144
+ "pride": {
145
+ "f1": 0.3007518796992481,
146
+ "precision": 0.40816326530612246,
147
+ "recall": 0.23809523809523808
148
+ },
149
+ "realization": {
150
+ "f1": 0.18007380073800738,
151
+ "precision": 0.216696269982238,
152
+ "recall": 0.15404040404040403
153
+ },
154
+ "relief": {
155
+ "f1": 0.10416666666666667,
156
+ "precision": 0.18518518518518517,
157
+ "recall": 0.07246376811594203
158
+ },
159
+ "remorse": {
160
+ "f1": 0.562962962962963,
161
+ "precision": 0.62004662004662,
162
+ "recall": 0.5155038759689923
163
+ },
164
+ "sadness": {
165
+ "f1": 0.46239837398373984,
166
+ "precision": 0.5022075055187638,
167
+ "recall": 0.4284369114877589
168
+ },
169
+ "surprise": {
170
+ "f1": 0.4541429475015813,
171
+ "precision": 0.4767596281540505,
172
+ "recall": 0.4335748792270531
173
+ },
174
+ "neutral": {
175
+ "f1": 0.5015319349516851,
176
+ "precision": 0.6606643899410121,
177
+ "recall": 0.40417853751187083
178
+ }
179
+ }
180
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": false,
48
+ "extra_special_tokens": {},
49
+ "mask_token": "[MASK]",
50
+ "model_max_length": 512,
51
+ "never_split": null,
52
+ "pad_token": "[PAD]",
53
+ "sep_token": "[SEP]",
54
+ "strip_accents": null,
55
+ "tokenize_chinese_chars": true,
56
+ "tokenizer_class": "BertTokenizer",
57
+ "unk_token": "[UNK]"
58
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff