Create config.json
Browse files- config.json +38 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"UIEX"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 0,
|
7 |
+
"coordinate_size": 128,
|
8 |
+
"eos_token_id": 2,
|
9 |
+
"gradient_checkpointing": false,
|
10 |
+
"has_relative_attention_bias": true,
|
11 |
+
"has_spatial_attention_bias": true,
|
12 |
+
"has_visual_segment_embedding": false,
|
13 |
+
"hidden_act": "gelu",
|
14 |
+
"hidden_dropout_prob": 0.1,
|
15 |
+
"hidden_size": 768,
|
16 |
+
"image_feature_pool_shape": [
|
17 |
+
7,
|
18 |
+
7,
|
19 |
+
256
|
20 |
+
],
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"layer_norm_eps": 1e-12,
|
24 |
+
"max_2d_position_embeddings": 1024,
|
25 |
+
"max_position_embeddings": 514,
|
26 |
+
"max_rel_2d_pos": 256,
|
27 |
+
"max_rel_pos": 128,
|
28 |
+
"model_type": "ernie_layout",
|
29 |
+
"num_attention_heads": 12,
|
30 |
+
"num_hidden_layers": 12,
|
31 |
+
"output_past": true,
|
32 |
+
"pad_token_id": 1,
|
33 |
+
"shape_size": 128,
|
34 |
+
"rel_2d_pos_bins": 64,
|
35 |
+
"rel_pos_bins": 32,
|
36 |
+
"type_vocab_size": 100,
|
37 |
+
"vocab_size": 250002,
|
38 |
+
}
|