estyle commited on
Commit
d039418
1 Parent(s): 6b3b411

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": 128,
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": 768,
19
+ "initializer_range": 0.02,
20
+ "input_size": 224,
21
+ "intermediate_size": 3072,
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": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "wpa_task": true,
33
+ "rel_2d_pos_bins": 64,
34
+ "rel_pos_bins": 32,
35
+ "second_input_size": 112,
36
+ "shape_size": 128,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.12.5",
39
+ "type_vocab_size": 1,
40
+ "visual_embed": true,
41
+ "vocab_size": 50265
42
+ }