Upload with huggingface_hub
Browse files- .gitattributes +1 -0
- model_config.json +41 -0
- model_state.pdparams +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
model_state.pdparams filter=lfs diff=lfs merge=lfs -text
|
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 |
+
}
|
model_state.pdparams
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9676dbecc78d02e8f0874a334c33834550d08f3ccf93f526d45ba2e90b6524a3
|
3 |
+
size 1126820117
|