Transformers
PyTorch
layoutlmv2
Inference Endpoints
lysandre HF staff commited on
Commit
facb27d
1 Parent(s): ab39c2c

Create config.4.13.0.json

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