JustinLin610 commited on
Commit
cf96e70
1 Parent(s): 07fb16a

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +51 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "activation_function": "gelu",
4
+ "add_type_embedding": true,
5
+ "architectures": [
6
+ "OFAForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "attn_scale_factor": 2.0,
10
+ "bos_token_id": 0,
11
+ "classifier_dropout": 0.0,
12
+ "code_image_size": 128,
13
+ "code_layernorm_embedding": true,
14
+ "d_model": 1024,
15
+ "decoder_attention_heads": 16,
16
+ "decoder_drop_path_rate": 0.0,
17
+ "decoder_ffn_dim": 4096,
18
+ "decoder_layerdrop": 0.0,
19
+ "decoder_layers": 12,
20
+ "decoder_normalize_before": true,
21
+ "decoder_start_token_id": 2,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 16,
24
+ "encoder_drop_path_rate": 0.0,
25
+ "encoder_ffn_dim": 4096,
26
+ "encoder_layerdrop": 0.0,
27
+ "encoder_layers": 12,
28
+ "encoder_normalize_before": true,
29
+ "entangle_position_embedding": false,
30
+ "eos_token_id": 2,
31
+ "image_bucket_size": 42,
32
+ "init_std": 0.02,
33
+ "is_encoder_decoder": true,
34
+ "layernorm_embedding": true,
35
+ "max_position_embeddings": 1024,
36
+ "model_type": "ofa",
37
+ "normformer": true,
38
+ "num_hidden_layers": 12,
39
+ "pad_token_id": 1,
40
+ "patch_layernorm_embedding": true,
41
+ "resnet_drop_path_rate": 0.0,
42
+ "resnet_model_path": null,
43
+ "resnet_type": "resnet152",
44
+ "scale_embedding": false,
45
+ "share_decoder_input_output_embed": true,
46
+ "token_bucket_size": 256,
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.18.0.dev0",
49
+ "use_cache": false,
50
+ "vocab_size": 59457
51
+ }