Update Model
Browse files- config.json +22 -20
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
@@ -11,28 +11,30 @@
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 312,
|
13 |
"id2label": {
|
14 |
-
"0": "
|
15 |
-
"1": "
|
16 |
-
"2": "
|
17 |
-
"3": "
|
18 |
-
"4": "
|
19 |
-
"5": "
|
20 |
-
"6": "
|
21 |
-
"7": "
|
22 |
-
"8": "
|
|
|
23 |
},
|
24 |
"initializer_range": 0.02,
|
25 |
"intermediate_size": 600,
|
26 |
"label2id": {
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
|
|
36 |
},
|
37 |
"layer_norm_eps": 1e-12,
|
38 |
"max_position_embeddings": 2048,
|
@@ -43,7 +45,7 @@
|
|
43 |
"position_embedding_type": "absolute",
|
44 |
"problem_type": "multi_label_classification",
|
45 |
"torch_dtype": "float32",
|
46 |
-
"transformers_version": "4.27.
|
47 |
"type_vocab_size": 2,
|
48 |
"use_cache": true,
|
49 |
"vocab_size": 83828
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "emotion_detection_model2",
|
3 |
"architectures": [
|
4 |
"BertForSequenceClassification"
|
5 |
],
|
|
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 312,
|
13 |
"id2label": {
|
14 |
+
"0": "neutral",
|
15 |
+
"1": "joy",
|
16 |
+
"2": "sadness",
|
17 |
+
"3": "anger",
|
18 |
+
"4": "enthusiasm",
|
19 |
+
"5": "surprise",
|
20 |
+
"6": "disgust",
|
21 |
+
"7": "fear",
|
22 |
+
"8": "guilt",
|
23 |
+
"9": "shame"
|
24 |
},
|
25 |
"initializer_range": 0.02,
|
26 |
"intermediate_size": 600,
|
27 |
"label2id": {
|
28 |
+
"anger": 3,
|
29 |
+
"disgust": 6,
|
30 |
+
"enthusiasm": 4,
|
31 |
+
"fear": 7,
|
32 |
+
"guilt": 8,
|
33 |
+
"joy": 1,
|
34 |
+
"neutral": 0,
|
35 |
+
"sadness": 2,
|
36 |
+
"shame": 9,
|
37 |
+
"surprise": 5
|
38 |
},
|
39 |
"layer_norm_eps": 1e-12,
|
40 |
"max_position_embeddings": 2048,
|
|
|
45 |
"position_embedding_type": "absolute",
|
46 |
"problem_type": "multi_label_classification",
|
47 |
"torch_dtype": "float32",
|
48 |
+
"transformers_version": "4.27.3",
|
49 |
"type_vocab_size": 2,
|
50 |
"use_cache": true,
|
51 |
"vocab_size": 83828
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2686936280a09f2bcc0752a55f5c8a4d0558ab018fdd2554b5e5f14bc092fcb0
|
3 |
+
size 116821471
|