estyle commited on
Commit
1223547
1 Parent(s): 42b9050

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +42 -0
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "roberta-base",
3
+ "architectures": [
4
+ "LayoutLMv3ForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "coordinate_size": 171,
10
+ "device": "cuda",
11
+ "discrete_vae_type": "dvaeforbeit",
12
+ "discrete_vae_weight_path": "/mnt/models/models/tokenizer/dvae",
13
+ "eos_token_id": 2,
14
+ "has_relative_attention_bias": true,
15
+ "has_spatial_attention_bias": true,
16
+ "hidden_act": "gelu",
17
+ "hidden_dropout_prob": 0.1,
18
+ "hidden_size": 1024,
19
+ "initializer_range": 0.02,
20
+ "input_size": 224,
21
+ "intermediate_size": 4096,
22
+ "layer_norm_eps": 1e-05,
23
+ "max_2d_position_embeddings": 1024,
24
+ "max_position_embeddings": 514,
25
+ "max_rel_2d_pos": 256,
26
+ "max_rel_pos": 128,
27
+ "mim": true,
28
+ "model_type": "layoutlmv3",
29
+ "num_attention_heads": 16,
30
+ "num_hidden_layers": 24,
31
+ "pad_token_id": 1,
32
+ "patch_token_align_task": true,
33
+ "rel_2d_pos_bins": 64,
34
+ "rel_pos_bins": 32,
35
+ "second_input_size": 112,
36
+ "shape_size": 170,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.12.5",
39
+ "type_vocab_size": 1,
40
+ "visual_embed": true,
41
+ "vocab_size": 50265
42
+ }