Update config.json
Browse files- config.json +42 -0
config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"MobileBertForSequenceClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"classifier_activation": true,
|
7 |
+
"embedding_size": 128,
|
8 |
+
"hidden_act": "relu",
|
9 |
+
"hidden_dropout_prob": 0.0,
|
10 |
+
"hidden_size": 512,
|
11 |
+
"id2label": {
|
12 |
+
"0": "others",
|
13 |
+
"1": "happy",
|
14 |
+
"2": "sad",
|
15 |
+
"3": "angry"
|
16 |
+
},
|
17 |
+
"initializer_range": 0.02,
|
18 |
+
"intermediate_size": 512,
|
19 |
+
"intra_bottleneck_size": 128,
|
20 |
+
"key_query_shared_bottleneck": true,
|
21 |
+
"label2id": {
|
22 |
+
"angry": 3,
|
23 |
+
"happy": 1,
|
24 |
+
"others": 0,
|
25 |
+
"sad": 2
|
26 |
+
},
|
27 |
+
"layer_norm_eps": 1e-12,
|
28 |
+
"max_length": 128,
|
29 |
+
"max_position_embeddings": 512,
|
30 |
+
"model_type": "mobilebert",
|
31 |
+
"normalization_type": "no_norm",
|
32 |
+
"num_attention_heads": 4,
|
33 |
+
"num_feedforward_networks": 4,
|
34 |
+
"num_hidden_layers": 24,
|
35 |
+
"pad_token_id": 0,
|
36 |
+
"trigram_input": true,
|
37 |
+
"true_hidden_size": 128,
|
38 |
+
"type_vocab_size": 2,
|
39 |
+
"use_bottleneck": true,
|
40 |
+
"use_bottleneck_attention": false,
|
41 |
+
"vocab_size": 2016
|
42 |
+
}
|