JustinLin610 commited on
Commit
fa586d5
1 Parent(s): 1779a4d

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +50 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_drop_path_rate": 0.1,
17
+ "decoder_ffn_dim": 3072,
18
+ "decoder_layerdrop": 0.0,
19
+ "decoder_layers": 6,
20
+ "decoder_normalize_before": true,
21
+ "dropout": 0.0,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_drop_path_rate": 0.1,
24
+ "encoder_ffn_dim": 3072,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "encoder_normalize_before": true,
28
+ "entangle_position_embedding": false,
29
+ "eos_token_id": 2,
30
+ "image_bucket_size": 42,
31
+ "init_std": 0.02,
32
+ "is_encoder_decoder": true,
33
+ "layernorm_embedding": true,
34
+ "max_position_embeddings": 1024,
35
+ "model_type": "ofa",
36
+ "normformer": true,
37
+ "num_hidden_layers": 6,
38
+ "pad_token_id": 1,
39
+ "patch_layernorm_embedding": true,
40
+ "resnet_drop_path_rate": 0.0,
41
+ "resnet_model_path": null,
42
+ "resnet_type": "resnet101",
43
+ "scale_embedding": false,
44
+ "share_decoder_input_output_embed": true,
45
+ "token_bucket_size": 256,
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.18.0.dev0",
48
+ "use_cache": false,
49
+ "vocab_size": 59457
50
+ }