sijunhe commited on
Commit
aef6f7f
1 Parent(s): bd94027

Create model_config.json

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