Upload BertForSequenceClassification
Browse files- config.json +105 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,105 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "bhadresh-savani/bert-base-go-emotion",
|
3 |
+
"activation": "gelu",
|
4 |
+
"architectures": [
|
5 |
+
"BertForSequenceClassification"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.1,
|
8 |
+
"attention_probs_dropout_prob": 0.1,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"dim": 768,
|
11 |
+
"dropout": 0.1,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dim": 3072,
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"id2label": {
|
17 |
+
"0": "afraid",
|
18 |
+
"1": "angry",
|
19 |
+
"2": "annoyed",
|
20 |
+
"3": "anticipating",
|
21 |
+
"4": "anxious",
|
22 |
+
"5": "apprehensive",
|
23 |
+
"6": "ashamed",
|
24 |
+
"7": "caring",
|
25 |
+
"8": "confident",
|
26 |
+
"9": "content",
|
27 |
+
"10": "devastated",
|
28 |
+
"11": "disappointed",
|
29 |
+
"12": "disgusted",
|
30 |
+
"13": "embarrassed",
|
31 |
+
"14": "excited",
|
32 |
+
"15": "faithful",
|
33 |
+
"16": "furious",
|
34 |
+
"17": "grateful",
|
35 |
+
"18": "guilty",
|
36 |
+
"19": "hopeful",
|
37 |
+
"20": "impressed",
|
38 |
+
"21": "jealous",
|
39 |
+
"22": "joyful",
|
40 |
+
"23": "lonely",
|
41 |
+
"24": "nostalgic",
|
42 |
+
"25": "prepared",
|
43 |
+
"26": "proud",
|
44 |
+
"27": "sad",
|
45 |
+
"28": "sentimental",
|
46 |
+
"29": "surprised",
|
47 |
+
"30": "terrified",
|
48 |
+
"31": "trusting"
|
49 |
+
},
|
50 |
+
"initializer_range": 0.02,
|
51 |
+
"intermediate_size": 3072,
|
52 |
+
"label2id": {
|
53 |
+
"afraid": 0,
|
54 |
+
"angry": 1,
|
55 |
+
"annoyed": 2,
|
56 |
+
"anticipating": 3,
|
57 |
+
"anxious": 4,
|
58 |
+
"apprehensive": 5,
|
59 |
+
"ashamed": 6,
|
60 |
+
"caring": 7,
|
61 |
+
"confident": 8,
|
62 |
+
"content": 9,
|
63 |
+
"devastated": 10,
|
64 |
+
"disappointed": 11,
|
65 |
+
"disgusted": 12,
|
66 |
+
"embarrassed": 13,
|
67 |
+
"excited": 14,
|
68 |
+
"faithful": 15,
|
69 |
+
"furious": 16,
|
70 |
+
"grateful": 17,
|
71 |
+
"guilty": 18,
|
72 |
+
"hopeful": 19,
|
73 |
+
"impressed": 20,
|
74 |
+
"jealous": 21,
|
75 |
+
"joyful": 22,
|
76 |
+
"lonely": 23,
|
77 |
+
"nostalgic": 24,
|
78 |
+
"prepared": 25,
|
79 |
+
"proud": 26,
|
80 |
+
"sad": 27,
|
81 |
+
"sentimental": 28,
|
82 |
+
"surprised": 29,
|
83 |
+
"terrified": 30,
|
84 |
+
"trusting": 31
|
85 |
+
},
|
86 |
+
"layer_norm_eps": 1e-12,
|
87 |
+
"max_position_embeddings": 512,
|
88 |
+
"model_type": "bert",
|
89 |
+
"n_heads": 12,
|
90 |
+
"n_layers": 6,
|
91 |
+
"num_attention_heads": 12,
|
92 |
+
"num_hidden_layers": 12,
|
93 |
+
"pad_token_id": 0,
|
94 |
+
"position_embedding_type": "absolute",
|
95 |
+
"problem_type": "multi_label_classification",
|
96 |
+
"qa_dropout": 0.1,
|
97 |
+
"seq_classif_dropout": 0.2,
|
98 |
+
"sinusoidal_pos_embds": false,
|
99 |
+
"tie_weights_": true,
|
100 |
+
"torch_dtype": "float32",
|
101 |
+
"transformers_version": "4.22.1",
|
102 |
+
"type_vocab_size": 2,
|
103 |
+
"use_cache": true,
|
104 |
+
"vocab_size": 30522
|
105 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:18b60a5520c95fa4c95790e44bbc935f440b288596b316c70be577dd9483c517
|
3 |
+
size 438098413
|